module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jan 2, 2024
License: GPL-3.0
Opens a new window with license information.
README
¶
目录结构
alert
- 程序逻辑报警功能,使用飞书报警
- 主要是监听日志,根据日志中的msg前缀做报警
apollo
- 实现apollo配置加载,外层用loader容器包配置即可
backend
- 依赖consul实现的服务器发现,根据tag做发现
- 支持http和tcp服务器
consul
- 实现consul监听服务器发现
- 实现consul注册
- 实现consul配置监听加载,外层用loader容器包配置即可
ginserver
gnetserver
- 对gnet的包装,外层实现EventHandler
goredis
httprequest
loader
log
metrics
- 指标包装,对Redis MySQL httprequest gin模块注册hook,实现指标监控
mysql
redis
tcp
tcpserver
utils
Directories
¶
Click to show internal directories.
Click to hide internal directories.