Documentation ¶ Index ¶ func New(limit ...int) *gqueue.Queue Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(limit ...int) *gqueue.Queue New returns an empty queue object. Optional parameter `limit` is used to limit the size of the queue, which is unlimited in default. When `limit` is given, the queue will be static and high performance which is comparable with stdlib channel. Types ¶ This section is empty. Source Files ¶ View all Source files queue.go Click to show internal directories. Click to hide internal directories.