Documentation
¶
Index ¶
- type Client
- func (c *Client) CleanQueue(ctx context.Context, name string) ([]schema.Task, error)
- func (c *Client) CreateQueue(ctx context.Context, meta schema.QueueMeta) (*schema.Queue, error)
- func (c *Client) CreateTask(ctx context.Context, queue string, task schema.TaskMeta) (*schema.Task, error)
- func (c *Client) CreateTicker(ctx context.Context, meta schema.TickerMeta) (*schema.Ticker, error)
- func (c *Client) DeleteQueue(ctx context.Context, name string) error
- func (c *Client) DeleteTicker(ctx context.Context, name string) error
- func (c *Client) GetQueue(ctx context.Context, name string) (*schema.Queue, error)
- func (c *Client) GetTicker(ctx context.Context, name string) (*schema.Ticker, error)
- func (c *Client) ListQueues(ctx context.Context, opts ...Opt) (*schema.QueueList, error)
- func (c *Client) ListTickers(ctx context.Context, opts ...Opt) (*schema.TickerList, error)
- func (c *Client) NextTicker(ctx context.Context) error
- func (c *Client) ReleaseTask(ctx context.Context, task uint64, err error) (*schema.TaskWithStatus, error)
- func (c *Client) RetainTask(ctx context.Context, opts ...Opt) (*schema.Task, error)
- func (c *Client) UpdateQueue(ctx context.Context, name string, meta schema.QueueMeta) (*schema.Queue, error)
- func (c *Client) UpdateTicker(ctx context.Context, name string, meta schema.TickerMeta) (*schema.Ticker, error)
- type Opt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CleanQueue ¶
func (*Client) CreateQueue ¶
func (*Client) CreateTask ¶
func (*Client) CreateTicker ¶
func (*Client) ListQueues ¶
func (*Client) ListTickers ¶
func (*Client) ReleaseTask ¶
func (*Client) RetainTask ¶
func (*Client) UpdateQueue ¶
Click to show internal directories.
Click to hide internal directories.