Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListQueue ¶
type ListQueue struct {
// contains filtered or unexported fields
}
ListQueue 是一个列表任务队列,用于在高并发情况下缓解服务器压力并改进任务处理
func NewListQueueWithMaxLen ¶
NewListQueueWithMaxLen 创建一个列表队列,指定工作线程数和最大元素数
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue 任务队列排队以在高并发情况下减轻服务器压力并改进任务处理
Click to show internal directories.
Click to hide internal directories.