feat(telegram): 添加Telegram启用检查逻辑
Build docker and publish / build (20.15.1) (push) Successful in 5m15s
Build docker and publish / build (20.15.1) (push) Successful in 5m15s
fix(trace): 移除服务中的trace初始化代码并优化agent日志 feat(docker): 添加docker-compose.yaml配置文件 refactor(trace): 为agent添加超时设置和启动日志 chore: 添加nginx配置文件示例
This commit is contained in:
@@ -14,6 +14,9 @@ import (
|
||||
)
|
||||
|
||||
func Telegram(svc *svc.ServiceContext) {
|
||||
if !svc.Config.Telegram.Enable {
|
||||
return
|
||||
}
|
||||
|
||||
// Prefer BotToken from DB auth method, fallback to config file
|
||||
var usedToken string
|
||||
|
||||
Reference in New Issue
Block a user