Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
63
func
NewIPListManager() *IPListManager {
64
return
&IPListManager{
65
fetchPageSize: 5_000,
66
listMap:
map
[int64]*IPList{},
67
isFirstTime: true,
68
}
69
}
70
71
func
(this *IPListManager) Start() {
72
this.Init()
Callers
5
TestIPListManager_init
Function · 0.92
TestIPListManager_check
Function · 0.92
TestIPListManager_loop
Function · 0.92
manager_ip_list.go
File · 0.85
TestIPIsAllowed
Function · 0.85
Calls
no outgoing calls
Tested by
4
TestIPListManager_init
Function · 0.74
TestIPListManager_check
Function · 0.74
TestIPListManager_loop
Function · 0.74
TestIPIsAllowed
Function · 0.68