queueKit

package
v2.9.114 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewQueue func(limit ...int) *gqueue.Queue = gqueue.New

NewQueue 队列(先进先出)

PS: 也支持固定队列大小,固定队列大小时队列效率和标准库的channel无异.

使用场景: 该队列是并发安全的,常用于多goroutine数据通信且支持动态队列大小的场景.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL