Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagConf = "config_folder_path" FlagTransferIndex = "index" )
Variables ¶
View Source
var ( RedisConfigFileName = "redis.yml" ZookeeperConfigFileName = "zookeeper.yml" MongodbConfigFileName = "mongodb.yml" LogConfigFileName = "log.yml" ChatAPIAdminCfgFileName = "chat-api-admin.yml" ChatAPIChatCfgFileName = "chat-api-chat.yml" ChatRPCAdminCfgFileName = "chat-rpc-admin.yml" ChatRPCChatCfgFileName = "chat-rpc-chat.yml" )
View Source
var ConfigEnvPrefixMap map[string]string
Functions ¶
func WithConfigMap ¶
func WithLogName ¶
Types ¶
type AdminApiCmd ¶
type AdminApiCmd struct { *RootCmd // contains filtered or unexported fields }
func NewAdminApiCmd ¶
func NewAdminApiCmd() *AdminApiCmd
func (*AdminApiCmd) Exec ¶
func (a *AdminApiCmd) Exec() error
type AdminRpcCmd ¶
type AdminRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewAdminRpcCmd ¶
func NewAdminRpcCmd() *AdminRpcCmd
func (*AdminRpcCmd) Exec ¶
func (a *AdminRpcCmd) Exec() error
type ChatApiCmd ¶
type ChatApiCmd struct { *RootCmd // contains filtered or unexported fields }
func NewChatApiCmd ¶
func NewChatApiCmd() *ChatApiCmd
func (*ChatApiCmd) Exec ¶
func (a *ChatApiCmd) Exec() error
type ChatRpcCmd ¶
type ChatRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewChatRpcCmd ¶
func NewChatRpcCmd() *ChatRpcCmd
func (*ChatRpcCmd) Exec ¶
func (a *ChatRpcCmd) Exec() error
type RootCmd ¶
func NewRootCmd ¶
Click to show internal directories.
Click to hide internal directories.