Documentation
¶
Index ¶
- Variables
- type Queue
- func (q *Queue) Cap() int
- func (q *Queue) Init() *Queue
- func (q *Queue) Len() int
- func (q *Queue) MustPush(c []byte)
- func (q *Queue) MustPushMany(cs [][]byte)
- func (q *Queue) Pop() ([]byte, error)
- func (q *Queue) PopMany(count int, mustGet bool) ([][]byte, error)
- func (q *Queue) Push(c []byte) error
- func (q *Queue) PushMany(cs [][]byte) error
- func (q *Queue) SetCap(cap int) *Queue
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrQueueFull is null ErrQueueFull = errors.New("queue has been full") //ErrQueueEmpty is null ErrQueueEmpty = errors.New("queue has no data") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.