MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / NewIPListManager

Function NewIPListManager

internal/iplibrary/manager_ip_list.go:63–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func NewIPListManager() *IPListManager {
64 return &IPListManager{
65 fetchPageSize: 5_000,
66 listMap: map[int64]*IPList{},
67 isFirstTime: true,
68 }
69}
70
71func (this *IPListManager) Start() {
72 this.Init()

Callers 5

TestIPListManager_initFunction · 0.92
TestIPListManager_checkFunction · 0.92
TestIPListManager_loopFunction · 0.92
manager_ip_list.goFile · 0.85
TestIPIsAllowedFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestIPListManager_initFunction · 0.74
TestIPListManager_checkFunction · 0.74
TestIPListManager_loopFunction · 0.74
TestIPIsAllowedFunction · 0.68