Documentation
¶
Index ¶
- type Client
- func (c *Client) Complete(ctx context.Context, sessionID string, result core.AllocationResult) error
- func (c *Client) CompleteExternal(ctx context.Context, sessionID string, result core.AllocationResult) error
- func (c *Client) Next(ctx context.Context, wait time.Duration) (*core.AllocationRequest, bool, error)
- func (c *Client) NextExternal(ctx context.Context, wait time.Duration) (*core.AllocationRequest, bool, error)
- type LocalNotifier
- type RedisNotifier
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
}
func (*Client) CompleteExternal ¶
type LocalNotifier ¶
type LocalNotifier struct {
// contains filtered or unexported fields
}
func NewLocalNotifier ¶
func NewLocalNotifier() *LocalNotifier
type RedisNotifier ¶
type RedisNotifier struct {
// contains filtered or unexported fields
}
func NewRedisNotifier ¶
func NewRedisNotifier(client *redis.Client) *RedisNotifier
Click to show internal directories.
Click to hide internal directories.