复制项目
This commit is contained in:
14
pkg/rpcli/msggateway.go
Normal file
14
pkg/rpcli/msggateway.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package rpcli
|
||||
|
||||
import (
|
||||
"git.imall.cloud/openim/protocol/msggateway"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
func NewMsgGatewayClient(cc grpc.ClientConnInterface) *MsgGatewayClient {
|
||||
return &MsgGatewayClient{msggateway.NewMsgGatewayClient(cc)}
|
||||
}
|
||||
|
||||
type MsgGatewayClient struct {
|
||||
msggateway.MsgGatewayClient
|
||||
}
|
||||
Reference in New Issue
Block a user