Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncQueue ¶
type SyncQueue interface { Pop() interface{} TryPop() (interface{}, bool) Push(v interface{}) Close() Len() int }
func NewSyncQueue ¶
func NewSyncQueue() SyncQueue
func NewSyncQueueByChan ¶
func NewSyncQueueByChan() SyncQueue
func NewSyncQueueWithGoroutine ¶
func NewSyncQueueWithGoroutine() SyncQueue
Click to show internal directories.
Click to hide internal directories.