Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FIFO ¶
type FIFO interface { // Push to the end of a queue. Push(val interface{}) // Pop from the front of a queue. Pop() interface{} // Same as Pop but doesn't remove the element from the queue. // The returned value should be read only. Front() interface{} // Get length of queue. Len() int // Check if queue is empty. IsEmpty() bool }
Read Write thread safe FIFO queue data structure.
Click to show internal directories.
Click to hide internal directories.