Browse Source

auto commit

tags/v1.1.0
yitter 3 years ago
parent
commit
875c74b632
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      README.md

+ 3
- 3
README.md View File

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


Loading…
Cancel
Save