Documentation ¶
Index ¶
- Constants
- Variables
- func WithConfigMap(configMap map[string]any) func(*CmdOpts)
- func WithCronTaskLogName() func(*CmdOpts)
- func WithLogName(logName string) func(*CmdOpts)
- type ApiCmd
- type AuthRpcCmd
- type ClearCmd
- type CmdOpts
- type ConversationRpcCmd
- type CronTaskCmd
- type FixCmd
- type FriendRpcCmd
- type GetCmd
- type GroupRpcCmd
- type MsgCmd
- type MsgGatewayCmd
- type MsgRpcCmd
- type MsgTransferCmd
- type MsgUtilsCmd
- func (m *MsgUtilsCmd) AddBeginSeqFlag()
- func (m *MsgUtilsCmd) AddClearAllFlag()
- func (m *MsgUtilsCmd) AddConfigDirFlag()
- func (m *MsgUtilsCmd) AddFixAllFlag()
- func (m *MsgUtilsCmd) AddIndexFlag()
- func (m *MsgUtilsCmd) AddLimitFlag()
- func (m *MsgUtilsCmd) AddSuperGroupIDFlag()
- func (m *MsgUtilsCmd) AddUserIDFlag()
- func (m *MsgUtilsCmd) Execute() error
- type PushRpcCmd
- type RootCmd
- type SeqCmd
- type ThirdRpcCmd
- type UserRpcCmd
Constants ¶
View Source
const ( FlagConf = "config_folder_path" FlagTransferIndex = "index" )
Variables ¶
View Source
var ( FileName string NotificationFileName string WebhooksConfigFileName string LocalCacheConfigFileName string KafkaConfigFileName string RedisConfigFileName string MongodbConfigFileName string MinioConfigFileName string LogConfigFileName string OpenIMAPICfgFileName string OpenIMCronTaskCfgFileName string OpenIMMsgGatewayCfgFileName string OpenIMMsgTransferCfgFileName string OpenIMPushCfgFileName string OpenIMRPCAuthCfgFileName string OpenIMRPCConversationCfgFileName string OpenIMRPCFriendCfgFileName string OpenIMRPCGroupCfgFileName string OpenIMRPCMsgCfgFileName string OpenIMRPCThirdCfgFileName string OpenIMRPCUserCfgFileName string DiscoveryConfigFilename string )
View Source
var ConfigEnvPrefixMap map[string]string
Functions ¶
func WithConfigMap ¶ added in v3.7.0
func WithCronTaskLogName ¶
func WithCronTaskLogName() func(*CmdOpts)
func WithLogName ¶
Types ¶
type AuthRpcCmd ¶ added in v3.7.0
type AuthRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewAuthRpcCmd ¶ added in v3.7.0
func NewAuthRpcCmd() *AuthRpcCmd
func (*AuthRpcCmd) Exec ¶ added in v3.7.0
func (a *AuthRpcCmd) Exec() error
type ClearCmd ¶
type ClearCmd struct {
*MsgUtilsCmd
}
func NewClearCmd ¶
func NewClearCmd() *ClearCmd
type ConversationRpcCmd ¶ added in v3.7.0
type ConversationRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewConversationRpcCmd ¶ added in v3.7.0
func NewConversationRpcCmd() *ConversationRpcCmd
func (*ConversationRpcCmd) Exec ¶ added in v3.7.0
func (a *ConversationRpcCmd) Exec() error
type CronTaskCmd ¶
type CronTaskCmd struct { *RootCmd // contains filtered or unexported fields }
func NewCronTaskCmd ¶
func NewCronTaskCmd() *CronTaskCmd
func (*CronTaskCmd) Exec ¶
func (a *CronTaskCmd) Exec() error
type FriendRpcCmd ¶ added in v3.7.0
type FriendRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewFriendRpcCmd ¶ added in v3.7.0
func NewFriendRpcCmd() *FriendRpcCmd
func (*FriendRpcCmd) Exec ¶ added in v3.7.0
func (a *FriendRpcCmd) Exec() error
type GroupRpcCmd ¶ added in v3.7.0
type GroupRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewGroupRpcCmd ¶ added in v3.7.0
func NewGroupRpcCmd() *GroupRpcCmd
func (*GroupRpcCmd) Exec ¶ added in v3.7.0
func (a *GroupRpcCmd) Exec() error
type MsgGatewayCmd ¶
type MsgGatewayCmd struct { *RootCmd // contains filtered or unexported fields }
func NewMsgGatewayCmd ¶
func NewMsgGatewayCmd() *MsgGatewayCmd
func (*MsgGatewayCmd) Exec ¶
func (m *MsgGatewayCmd) Exec() error
type MsgRpcCmd ¶ added in v3.7.0
type MsgRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewMsgRpcCmd ¶ added in v3.7.0
func NewMsgRpcCmd() *MsgRpcCmd
type MsgTransferCmd ¶
type MsgTransferCmd struct { *RootCmd // contains filtered or unexported fields }
func NewMsgTransferCmd ¶
func NewMsgTransferCmd() *MsgTransferCmd
func (*MsgTransferCmd) Exec ¶
func (m *MsgTransferCmd) Exec() error
type MsgUtilsCmd ¶
func NewMsgUtilsCmd ¶
func NewMsgUtilsCmd(use, short string, args cobra.PositionalArgs) *MsgUtilsCmd
func (*MsgUtilsCmd) AddBeginSeqFlag ¶
func (m *MsgUtilsCmd) AddBeginSeqFlag()
func (*MsgUtilsCmd) AddClearAllFlag ¶
func (m *MsgUtilsCmd) AddClearAllFlag()
func (*MsgUtilsCmd) AddConfigDirFlag ¶ added in v3.7.0
func (m *MsgUtilsCmd) AddConfigDirFlag()
func (*MsgUtilsCmd) AddFixAllFlag ¶
func (m *MsgUtilsCmd) AddFixAllFlag()
func (*MsgUtilsCmd) AddIndexFlag ¶ added in v3.7.0
func (m *MsgUtilsCmd) AddIndexFlag()
func (*MsgUtilsCmd) AddLimitFlag ¶
func (m *MsgUtilsCmd) AddLimitFlag()
func (*MsgUtilsCmd) AddSuperGroupIDFlag ¶
func (m *MsgUtilsCmd) AddSuperGroupIDFlag()
func (*MsgUtilsCmd) AddUserIDFlag ¶
func (m *MsgUtilsCmd) AddUserIDFlag()
func (*MsgUtilsCmd) Execute ¶
func (m *MsgUtilsCmd) Execute() error
type PushRpcCmd ¶ added in v3.7.0
type PushRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewPushRpcCmd ¶ added in v3.7.0
func NewPushRpcCmd() *PushRpcCmd
func (*PushRpcCmd) Exec ¶ added in v3.7.0
func (a *PushRpcCmd) Exec() error
type SeqCmd ¶
type SeqCmd struct {
*MsgUtilsCmd
}
type ThirdRpcCmd ¶ added in v3.7.0
type ThirdRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewThirdRpcCmd ¶ added in v3.7.0
func NewThirdRpcCmd() *ThirdRpcCmd
func (*ThirdRpcCmd) Exec ¶ added in v3.7.0
func (a *ThirdRpcCmd) Exec() error
type UserRpcCmd ¶ added in v3.7.0
type UserRpcCmd struct { *RootCmd // contains filtered or unexported fields }
func NewUserRpcCmd ¶ added in v3.7.0
func NewUserRpcCmd() *UserRpcCmd
func (*UserRpcCmd) Exec ¶ added in v3.7.0
func (a *UserRpcCmd) Exec() error
Click to show internal directories.
Click to hide internal directories.