Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue interface { // Push a data into queue Push(v interface{}) // Pop first data Pop() (interface{}, bool) // PopMany pop many of data PopMany(count int64) ([]interface{}, bool) // PopAll pop all data PopAll() ([]interface{}, bool) // Front peek first data Front() (interface{}, bool) // End peek end data End() (interface{}, bool) // Length get length of queue Length() int64 // IsEmpty judge queue's lenght if 0 IsEmpty() bool }
Queue functions for manager datas in queue
Click to show internal directories.
Click to hide internal directories.