Skip to content

全局唯一id生成器, 分布式,多存储模式支持

Notifications You must be signed in to change notification settings

cclehui/idgenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idGenerator

全局唯一id生成器, 分布式,多存储模式支持

id generator server

How to use

1.编辑 config/production.toml 文件, 配置自己合适的配置

2.启动master server: go run server.go master

3.启动slave server: go run server.go slave

  1. http://0.0.0.0:8182/autoincrement?source=aaaa

Contribute

About

全局唯一id生成器, 分布式,多存储模式支持

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published