MCPcopy 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
49func (c *Controller) ApiKey() uuid.UUID {
50 c.mu.RLock()
51 defer c.mu.RUnlock()
52 return c.cfg.ApiKey
53}
54
55func (c *Controller) Connect(ip string, keepAlive uint64) {
56 c.mu.Lock()

Callers 2

validateApiKeyFunction · 0.80
validateApiKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected