Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCronTaskLogName ¶
func WithCronTaskLogName() func(*CmdOpts)
func WithLogName ¶
Types ¶
type ClearCmd ¶
type ClearCmd struct {
*MsgUtilsCmd
}
func NewClearCmd ¶
func NewClearCmd() *ClearCmd
type CronTaskCmd ¶
type CronTaskCmd struct {
*RootCmd
}
func NewCronTaskCmd ¶
func NewCronTaskCmd() *CronTaskCmd
func (*CronTaskCmd) Exec ¶
func (c *CronTaskCmd) Exec(f func() error) error
type MsgGatewayCmd ¶
type MsgGatewayCmd struct {
*RootCmd
}
func NewMsgGatewayCmd ¶
func NewMsgGatewayCmd() MsgGatewayCmd
func (*MsgGatewayCmd) AddWsPortFlag ¶
func (m *MsgGatewayCmd) AddWsPortFlag()
func (*MsgGatewayCmd) Exec ¶
func (m *MsgGatewayCmd) Exec() error
type MsgTransferCmd ¶
type MsgTransferCmd struct {
*RootCmd
}
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) AddFixAllFlag ¶
func (m *MsgUtilsCmd) AddFixAllFlag()
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 RootCmd ¶
func NewRootCmd ¶
func (*RootCmd) AddCommand ¶
func (*RootCmd) AddPortFlag ¶
func (r *RootCmd) AddPortFlag()
func (*RootCmd) AddPrometheusPortFlag ¶
func (r *RootCmd) AddPrometheusPortFlag()
func (*RootCmd) GetPortFlag ¶
func (*RootCmd) GetPrometheusPortFlag ¶
Click to show internal directories.
Click to hide internal directories.