更好地支持IPv6/优化IP名单内存用量

This commit is contained in:
GoEdgeLab
2024-04-06 10:07:39 +08:00
parent 6fc0067fed
commit 5d9b5baf59
13 changed files with 254 additions and 241 deletions

View File

@@ -14,7 +14,7 @@ func TestIPIsAllowed(t *testing.T) {
}
var manager = NewIPListManager()
manager.init()
manager.Init()
var before = time.Now()
defer func() {