Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct { Id string `json:"id"` Payload json.RawMessage `json:"payload"` }
type TaskerClient ¶
func NewTaskerClient ¶
func NewTaskerClient(o TaskerClientOpts) *TaskerClient
type TaskerClientOpts ¶
type TaskerServer ¶
type TaskerServer struct {
// contains filtered or unexported fields
}
func NewTaskerServer ¶
func NewTaskerServer(o TaskerServerOpts) *TaskerServer
func (*TaskerServer) RegisterHandlers ¶
func (*TaskerServer) RegisterMiddlewareStack ¶
func (ts *TaskerServer) RegisterMiddlewareStack(middlewareStack []asynq.MiddlewareFunc)
func (*TaskerServer) Start ¶
func (ts *TaskerServer) Start() error
func (*TaskerServer) Stop ¶
func (ts *TaskerServer) Stop()
type TaskerServerOpts ¶
Click to show internal directories.
Click to hide internal directories.