mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-13 05:25:59 +08:00
conn
This commit is contained in:
@@ -18,11 +18,11 @@ import (
|
||||
)
|
||||
|
||||
func NewThird(discov discoveryregistry.SvcDiscoveryRegistry) *Third {
|
||||
conn, err := discov.GetConn(context.Background(), config.Config.RpcRegisterName.OpenImThirdName)
|
||||
if err != nil {
|
||||
// panic(err)
|
||||
}
|
||||
return &Third{conn: conn, discov: discov}
|
||||
// conn, err := discov.GetConn(context.Background(), config.Config.RpcRegisterName.OpenImThirdName)
|
||||
// if err != nil {
|
||||
// panic(err)
|
||||
// }
|
||||
return &Third{discov: discov}
|
||||
}
|
||||
|
||||
type Third struct {
|
||||
|
||||
Reference in New Issue
Block a user