1
0
mirror of synced 2026-04-15 21:08:39 +08:00

auto commit

This commit is contained in:
yitter
2021-04-06 22:10:46 +08:00
parent 2637310b0a
commit 15b47b1e8c

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