Documentation ¶
Index ¶
- type Options
- type Queue
- func (q *Queue) Add(elem *queue.Elem) (err error)
- func (q *Queue) Clean() error
- func (q *Queue) Close() error
- func (q *Queue) Init(opts *queue.InitOptions) error
- func (q *Queue) Read(pids []packets.PacketID) (elems []*queue.Elem, err error)
- func (q *Queue) ReadInflight(maxSize uint) (elems []*queue.Elem, err error)
- func (q *Queue) Remove(pid packets.PacketID) error
- func (q *Queue) Replace(elem *queue.Elem) (replaced bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) ReadInflight ¶
Click to show internal directories.
Click to hide internal directories.