# Functions
No description provided by the author
ListenTaskQueue 该函数的作用是监听工作队列传来的消息。 它通过不断检查工作队列是否有可用的连接,并将连接分配给处理函数 acceptUserRequest。 当工作队列未满时,会从工作队列中取出一个连接,并启动一个协程来处理该连接的用户请求。 函数会以很小的时间间隔进行轮询,并持续监听工作队列的新消息。 The function listens for messages from the work queue.
No description provided by the author
NewUserConnPool 新建一个连接池对象.
No description provided by the author
NewWorkers 新建workers.
# Variables
No description provided by the author
# Structs
ClientInfo 客户端连接信息.
DataBase 数据库相关信息.
No description provided by the author
No description provided by the author
Server 服务端程序的实例.
UserConnInfo 用户连接信息,此处保存的是用户访问公网web所对应的那个接口.
Worker 真正干活的工人,数量和TCP MAX有关.
No description provided by the author