Documentation ¶
Index ¶
- type ListQueue
- func (q *ListQueue) Dequeue(ctx context.Context, queue string, value interface{}) error
- func (q *ListQueue) Enqueue(ctx context.Context, queue string, value interface{}) error
- func (q *ListQueue) Flush(ctx context.Context, queue string) error
- func (q *ListQueue) Len(ctx context.Context, queue string) int
- type Option
- type Queuer
- type Rediser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListQueue ¶
type ListQueue struct {
// contains filtered or unexported fields
}
func NewListQueue ¶
type Option ¶
type Option func(*options)
func WithDequeueTimeout ¶
WithDequeueTimeout sets timeout of enqueue operation, default indefinitely
Click to show internal directories.
Click to hide internal directories.