Documentation
¶
Index ¶
- Variables
- func RegGNetServer[ClientId any, ClientInfo any](gnet *gnetserver.GNetServer[ClientId, ClientInfo])
- func RegGinServer(gin *ginserver.GinServer)
- func RegGoRedis(redis *goredis.Redis)
- func RegHttp()
- func RegHttpBackend[ServerInfo any](hb *backend.HttpBackend[ServerInfo])
- func RegMsgDispatch[Mr utils.RecvMsger, Cr any](md *dispatch.MsgDispatch[Mr, Cr])
- func RegMySQL(mysql *mysql.MySQL)
- func RegRedis(redis *redis.Redis)
- func RegTCPBackend[ServerInfo any](tb *backend.TcpBackend[ServerInfo])
- func RegTCPServer[ClientId any, ClientInfo any](ts *tcpserver.TCPServer[ClientId, ClientInfo])
- type ConnCount
Constants ¶
This section is empty.
Variables ¶
View Source
var MetricsNamePrefix = ""
指标名前缀,需要Reg之前设置
Functions ¶
func RegGNetServer ¶
func RegGNetServer[ClientId any, ClientInfo any](gnet *gnetserver.GNetServer[ClientId, ClientInfo])
GNetServer统计
func RegHttpBackend ¶
func RegHttpBackend[ServerInfo any](hb *backend.HttpBackend[ServerInfo])
HTTPBackend统计
func RegMsgDispatch ¶
func RegMsgDispatch[Mr utils.RecvMsger, Cr any](md *dispatch.MsgDispatch[Mr, Cr])
MsgDispatch统计
func RegTCPBackend ¶
func RegTCPBackend[ServerInfo any](tb *backend.TcpBackend[ServerInfo])
TCPBackend统计
Types ¶
Click to show internal directories.
Click to hide internal directories.