Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update tools pkg #245

Merged
merged 37 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
76b93fe
fix: im api UserToken error non-responsive body
withchao Aug 7, 2023
34f9313
fix: set rand seed
withchao Aug 7, 2023
c2d9060
fix: set rand seed
withchao Aug 7, 2023
9e7f09c
Merge branch 'OpenIMSDK:main' into main
withchao Aug 7, 2023
a181e31
Merge branch 'OpenIMSDK:main' into main
withchao Aug 9, 2023
1c51d95
update version
withchao Aug 9, 2023
5fac974
Merge remote-tracking branch 'origin/main'
withchao Aug 9, 2023
4202a75
Merge branch 'OpenIMSDK:main' into main
withchao Aug 23, 2023
3a0bf48
fix: optimize error code
withchao Aug 23, 2023
ac6e9e5
fix: optimize error code
withchao Aug 23, 2023
6610068
Merge branch 'OpenIMSDK:main' into main
withchao Aug 23, 2023
51397b6
Merge branch 'OpenIMSDK:main' into main
withchao Sep 1, 2023
02bfda0
fix: chat admin userID
withchao Sep 1, 2023
6694940
fix: chat admin userID
withchao Sep 1, 2023
2028491
fix: chat admin userID
withchao Sep 1, 2023
de55c91
Merge branch 'OpenIMSDK:main' into main
withchao Sep 1, 2023
33bfb7a
Merge branch 'openimsdk:main' into main
withchao Sep 11, 2023
50cbcbd
feat: add SearchFriend
withchao Sep 11, 2023
a8c0829
feat: add SearchFriend
withchao Sep 11, 2023
4b04fce
feat: add SearchFriend
withchao Sep 11, 2023
84a988c
feat: add SearchFriend
withchao Sep 11, 2023
3aa5755
feat: add SearchFriend
withchao Sep 11, 2023
cbf9760
Merge branch 'openimsdk:main' into main
withchao Sep 14, 2023
1db1a2c
fix: admin char length
withchao Sep 14, 2023
9bc72de
Merge remote-tracking branch 'origin/main'
withchao Sep 14, 2023
2ccfe25
fix: phone already register code
withchao Sep 19, 2023
02acbfe
Merge branch 'openimsdk:main' into main
withchao Oct 25, 2023
fd9b622
feat: add api caller timeout
withchao Oct 25, 2023
068fdfb
feat: add api caller timeout
withchao Oct 25, 2023
470bd04
feat: im admin token cache
withchao Oct 25, 2023
5b7f104
feat: im admin token cache
withchao Oct 25, 2023
95435d6
feat: im admin token cache
withchao Oct 25, 2023
1737186
chore: update pkg github.com/openimsdk/tools
withchao Oct 26, 2023
f2a123e
chore: update pkg github.com/openimsdk/tools
withchao Oct 26, 2023
889e738
Merge branch 'openimsdk:main' into main
withchao Oct 26, 2023
f19f10d
chore: update pkg github.com/openimsdk/tools
withchao Oct 26, 2023
c7c376a
Merge remote-tracking branch 'origin/main'
withchao Oct 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/common/chatrpcstart/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func Start(rpcPort int, rpcRegisterName string, prometheusPort int, rpcFn func(c
if err != nil {
return errs.Wrap(err)
}
defer zkClient.CloseZK()
defer zkClient.Close()
zkClient.AddOption(chatMw.AddUserType(), mw.GrpcClient(), grpc.WithTransportCredentials(insecure.NewCredentials()))
registerIP, err := network.GetRpcRegisterIP(config.Config.Rpc.RegisterIP)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/common/config/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func InitConfig(configFile string) error {
if err != nil {
return utils.Wrap(err, "conn zk error ")
}
defer zk.CloseZK()
defer zk.Close()
var openIMConfigData []byte
for i := 0; i < 100; i++ {
var err error
Expand Down
Loading