mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-05 09:36:00 +08:00
script
This commit is contained in:
@@ -14,7 +14,9 @@ type RpcCmd struct {
|
||||
}
|
||||
|
||||
func NewRpcCmd(rpcRegisterName string) *RpcCmd {
|
||||
return &RpcCmd{NewRootCmd(), rpcRegisterName}
|
||||
rpcCmd := &RpcCmd{NewRootCmd(), rpcRegisterName}
|
||||
fmt.Println(*rpcCmd)
|
||||
return rpcCmd
|
||||
}
|
||||
|
||||
func (r *RpcCmd) AddRpc(rpcFn func(client discoveryregistry.SvcDiscoveryRegistry, server *grpc.Server) error) {
|
||||
|
||||
Reference in New Issue
Block a user