Browse Source

auto commit

tags/v1.1.0
yitter 4 years ago
parent
commit
15b47b1e8c
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      README.md

+ 4
- 0
README.md View File

@@ -200,6 +200,10 @@ QQ群:646049993
动态库接口定义:
```
// 注册一个 WorkerId,会先注销所有本机已注册的记录
// ip: redis 服务器地址
// port: redis 端口
// password: redis 访问密码,可为空字符串“”
// maxWorkerId: 最大 WorkerId
extern __declspec(dllexport) GoInt32 RegisterOne(char* ip, GoInt32 port, char* password, GoInt32 maxWorkerId);
// 注销本机已注册的 WorkerId


Loading…
Cancel
Save