mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-18 10:12:56 +08:00
script
This commit is contained in:
parent
471b9cbea6
commit
ee11636d7e
@ -2,6 +2,7 @@ package cmd
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"OpenIM/internal/startrpc"
|
"OpenIM/internal/startrpc"
|
||||||
|
"OpenIM/pkg/common/config"
|
||||||
"OpenIM/pkg/discoveryregistry"
|
"OpenIM/pkg/discoveryregistry"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
@ -15,7 +16,7 @@ type RpcCmd struct {
|
|||||||
|
|
||||||
func NewRpcCmd(rpcRegisterName string) *RpcCmd {
|
func NewRpcCmd(rpcRegisterName string) *RpcCmd {
|
||||||
rpcCmd := &RpcCmd{NewRootCmd(), rpcRegisterName}
|
rpcCmd := &RpcCmd{NewRootCmd(), rpcRegisterName}
|
||||||
fmt.Println("line 18", *rpcCmd, rpcCmd, rpcRegisterName)
|
fmt.Println("line 18", *rpcCmd, rpcCmd, rpcRegisterName, config.Config.RpcRegisterName)
|
||||||
return rpcCmd
|
return rpcCmd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user