优化忽略规则配置和 Agent 获取 IP

This commit is contained in:
naiba
2021-06-21 21:30:42 +08:00
parent c4f36d17d5
commit 4b0c0ad288
20 changed files with 370 additions and 291 deletions

View File

@@ -3,6 +3,7 @@ package dao
import (
"crypto/md5"
"encoding/hex"
"log"
"sync"
"time"
@@ -69,6 +70,9 @@ func SendNotification(desc string, muteable bool) {
}
if !flag {
if Conf.Debug {
log.Println("muted notification", desc, muteable)
}
return
}
}