feat: update to go1.24 & support listening https (#1002)

* feat: support listening https

* refactor

* modernize

* support snake case in config

* more precise control of config fields

* update goreleaser config

* remove kubeyaml

* fix: expose agent_secret

* chore
This commit is contained in:
UUBulb authored and GitHub committed 2025-02-28 22:02:54 +08:00
1 parent ffd3cfc9da
commit 043d6c4097
28 files changed
+321 -175

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ func BlockIP(db *gorm.DB, ip string, reason uint8, uid int64) error {
}
now := uint64(time.Now().Unix())
var count interface{}
var count any
if reason == WAFBlockReasonTypeManual {
count = 99999
} else {