Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
陈太太先生
雪花ID全家桶(SnowFlake IdGenerator)
提交
84b0d9a2
雪
雪花ID全家桶(SnowFlake IdGenerator)
项目概览
陈太太先生
/
雪花ID全家桶(SnowFlake IdGenerator)
与 Fork 源项目一致
Fork自
yitter / 雪花ID全家桶(SnowFlake IdGenerator)
通知
6
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
雪
雪花ID全家桶(SnowFlake IdGenerator)
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
84b0d9a2
编写于
5月 21, 2021
作者:
yitter
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
auto commit
上级
eb6435ac
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
13 addition
and
13 deletion
+13
-13
README.md
README.md
+13
-13
未找到文件。
README.md
浏览文件 @
84b0d9a2
...
...
@@ -195,18 +195,18 @@ QQ群:646049993
🔍 当然,如果你的服务无需自动扩容,那就不必自动注册WorkerId,而是为它们分别设置全局唯一值。
🔍
更多方法源自你出色的想象力,此处抛砖引玉地举例,如
:开发中心化的ID生成服务,由它为各端点服务(单个或批量)生成可用ID。
🔍
发挥你的想象力,方法还有很多。此处抛砖引玉
:开发中心化的ID生成服务,由它为各端点服务(单个或批量)生成可用ID。
#### 自动注册流程图
图片链接:https://git
ee.com/yitter/idg
enerator/blob/master/Tools/AutoRegisterWorkerId/regprocess.jpg
图片链接:https://git
hub.com/yitter/IdG
enerator/blob/master/Tools/AutoRegisterWorkerId/regprocess.jpg
源码路径:/Go/source/regworkerid/reghelper.go
#### 动态库下载
下载链接:https://git
ee.com/yitter/idgenerator/attach_files/662372/download
/regworkerid_lib_v1.0.zip
下载链接:https://git
hub.com/yitter/IdGenerator/releases/download/reg_v1.0
/regworkerid_lib_v1.0.zip
#### 动态库接口定义
```
...
...
@@ -226,16 +226,16 @@ extern GoInt32 Validate(GoInt32 workerId);
## 已实现的语言
| 语言 | github |
gitee |
| ---- | ---- |
---- |
| 🌲 C# |
[
查看示例
][
1
]
|
[
查看示例
][
11
]
|
| 🌲 Java |
[
查看示例
][
2
]
|
[
查看示例
][
21
]
|
| 🌲 Go|
[
查看示例
][
3
]
|
[
查看示例
][
31
]
|
| 🌲 Rust |
[
查看示例
][
4
]
|
[
查看示例
][
41
]
|
| 🌲 C |
[
查看示例
][
5
]
|
[
查看示例
][
51
]
|
| 🌲 C (PHP扩展) |
[
查看示例
][
7
]
|
[
查看示例
][
71
]
|
| 🌲 V |
[
查看示例
][
6
]
|
[
查看示例
][
61
]
|
| 🌲 D |
[
查看示例
][
72
]
|
[
查看示例
][
73
]
|
| 语言 | github |
| ---- | ---- |
| 🌲 C# |
[
查看示例
][
1
]
|
| 🌲 Java |
[
查看示例
][
2
]
|
| 🌲 Go|
[
查看示例
][
3
]
|
| 🌲 Rust |
[
查看示例
][
4
]
|
| 🌲 C |
[
查看示例
][
5
]
|
| 🌲 C (PHP扩展) |
[
查看示例
][
7
]
|
| 🌲 V |
[
查看示例
][
6
]
|
| 🌲 D |
[
查看示例
][
72
]
|
[
comment
]:
<>
( ## 为什么用雪花ID?)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录