Documentation ¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) GetCancel(ctx context.Context, id int64) (bool, error)
- func (c *Client) NextQueueItem(ctx context.Context, queueName, hostname string) (*model.QueueItem, error)
- func (c *Client) SetCancel(ctx context.Context, id int64) error
- func (c *Client) SetStatus(ctx context.Context, id int64, status bool) error
- func (c *Client) Submit(ctx context.Context, sub *types.Submission) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the queue client.
func (*Client) NextQueueItem ¶
func (c *Client) NextQueueItem(ctx context.Context, queueName, hostname string) (*model.QueueItem, error)
NextQueueItem returns the next item in the queue.
Click to show internal directories.
Click to hide internal directories.