Documentation ¶
Index ¶
- type ConcurrentQueue
- func (q *ConcurrentQueue) Append(item interface{}) error
- func (q *ConcurrentQueue) Back() interface{}
- func (q *ConcurrentQueue) BackNoBlocked() interface{}
- func (q *ConcurrentQueue) Front() interface{}
- func (q *ConcurrentQueue) FrontNoBlocked() interface{}
- func (q *ConcurrentQueue) Len() int
- func (q *ConcurrentQueue) Remove() interface{}
- func (q *ConcurrentQueue) RemoveNoBlocked() interface{}
- func (q *ConcurrentQueue) SetMaxLen(maxLen int)
- type Queue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentQueue ¶
type ConcurrentQueue struct {
// contains filtered or unexported fields
}
func NewConcurrentQueue ¶
func NewConcurrentQueue() *ConcurrentQueue
func (*ConcurrentQueue) Append ¶
func (q *ConcurrentQueue) Append(item interface{}) error
func (*ConcurrentQueue) Back ¶
func (q *ConcurrentQueue) Back() interface{}
func (*ConcurrentQueue) BackNoBlocked ¶
func (q *ConcurrentQueue) BackNoBlocked() interface{}
func (*ConcurrentQueue) Front ¶
func (q *ConcurrentQueue) Front() interface{}
func (*ConcurrentQueue) FrontNoBlocked ¶
func (q *ConcurrentQueue) FrontNoBlocked() interface{}
func (*ConcurrentQueue) Len ¶
func (q *ConcurrentQueue) Len() int
func (*ConcurrentQueue) Remove ¶
func (q *ConcurrentQueue) Remove() interface{}
func (*ConcurrentQueue) RemoveNoBlocked ¶
func (q *ConcurrentQueue) RemoveNoBlocked() interface{}
func (*ConcurrentQueue) SetMaxLen ¶
func (q *ConcurrentQueue) SetMaxLen(maxLen int)
Click to show internal directories.
Click to hide internal directories.