mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: direct conn message gateway array exceed length
This commit is contained in:
parent
d3201fb908
commit
23cbfd7b66
@ -14,6 +14,7 @@ import (
|
|||||||
type ServiceAddresses map[string]string
|
type ServiceAddresses map[string]string
|
||||||
|
|
||||||
func getServiceAddresses() ServiceAddresses {
|
func getServiceAddresses() ServiceAddresses {
|
||||||
|
fmt.Println("!!!!!!!!!!!!!!!!!!!!!!!!!!", config2.Config.LongConnSvr.OpenImMessageGatewayPort)
|
||||||
return ServiceAddresses{
|
return ServiceAddresses{
|
||||||
"OpenImUser": fmt.Sprintf(config2.Config.RpcRegisterName.OpenImUserName, config2.Config.RpcPort.OpenImUserPort[0]),
|
"OpenImUser": fmt.Sprintf(config2.Config.RpcRegisterName.OpenImUserName, config2.Config.RpcPort.OpenImUserPort[0]),
|
||||||
"OpenImFriend": fmt.Sprintf(config2.Config.RpcRegisterName.OpenImFriendName, config2.Config.RpcPort.OpenImFriendPort[0]),
|
"OpenImFriend": fmt.Sprintf(config2.Config.RpcRegisterName.OpenImFriendName, config2.Config.RpcPort.OpenImFriendPort[0]),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user