Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PasarGuard/node
/ ApiKey
Method
ApiKey
controller/controller.go:49–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
func
(c *Controller) ApiKey() uuid.UUID {
50
c.mu.RLock()
51
defer
c.mu.RUnlock()
52
return
c.cfg.ApiKey
53
}
54
55
func
(c *Controller) Connect(ip string, keepAlive uint64) {
56
c.mu.Lock()
Callers
2
validateApiKey
Function · 0.80
validateApiKey
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected