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