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