1
0
mirror of synced 2026-04-19 23:08:39 +08:00

auto commit

This commit is contained in:
yitter
2021-04-10 22:37:54 +08:00
parent 9665060b04
commit 875c74b632

View File

@@ -208,13 +208,13 @@ QQ群646049993
// port: redis 端口
// password: redis 访问密码,可为空字符串“”
// maxWorkerId: 最大 WorkerId
extern __declspec(dllexport) GoInt32 RegisterOne(char* ip, GoInt32 port, char* password, GoInt32 maxWorkerId);
extern GoInt32 RegisterOne(char* ip, GoInt32 port, char* password, GoInt32 maxWorkerId);
// 注销本机已注册的 WorkerId
extern __declspec(dllexport) void UnRegister();
extern void UnRegister();
// 检查本地WorkerId是否有效0-有效,其它-无效)
extern __declspec(dllexport) GoInt32 Validate(GoInt32 workerId);
extern GoInt32 Validate(GoInt32 workerId);
```
## 已实现的语言