Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientCommands ¶ added in v1.4.0
type ClientCommands struct {
QueueCommands
TickerCommands
TaskCommands
}
type QueueCommands ¶ added in v1.4.0
type QueueCommands struct {
QueueList QueueListCmd `cmd:"" name:"queues" help:"List the queues." group:"TASK QUEUES"`
}
type QueueListCmd ¶ added in v1.4.0
type QueueListCmd struct {
schema.QueueListRequest
}
type TaskCommands ¶ added in v1.4.0
type TaskCommands struct {
TaskList TaskListCmd `cmd:"" name:"tasks" help:"List the tasks, optionally in some queues, or with a status." group:"TASK QUEUES"`
}
type TaskListCmd ¶ added in v1.4.0
type TaskListCmd struct {
pg.OffsetLimit `embed:""`
Queue []string `name:"queue" help:"Only list the tasks in these queues." optional:""`
Status string `name:"status" help:"Only list the tasks with this status." enum:"any,new,running,retry,expired,failed,done" default:"any"`
}
type TickerCommands ¶ added in v1.4.0
type TickerCommands struct {
TickerList TickerListCmd `cmd:"" name:"tickers" help:"List the tickers." group:"TASK QUEUES"`
}
type TickerListCmd ¶ added in v1.4.0
type TickerListCmd struct {
schema.TickerListRequest
}
Click to show internal directories.
Click to hide internal directories.