Documentation
¶
Index ¶
- type Options
- type Queue
- func (q *Queue) Add(ctx context.Context, elem *queue.Element) (err error)
- func (q *Queue) Clean(ctx context.Context) error
- func (q *Queue) Close() error
- func (q *Queue) Init(ctx context.Context, opts *queue.InitOptions) error
- func (q *Queue) Read(ctx context.Context, pids []packet.Id) (elems []*queue.Element, err error)
- func (q *Queue) ReadInflight(ctx context.Context, maxSize uint) (elems []*queue.Element, err error)
- func (q *Queue) Remove(ctx context.Context, pid packet.Id) error
- func (q *Queue) Replace(ctx context.Context, elem *queue.Element) (replaced bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.