MCPcopy Index your code
hub / github.com/PasarGuard/node / Backend

Method Backend

controller/controller.go:144–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142}
143
144func (c *Controller) Backend() backend.Backend {
145 c.mu.RLock()
146 defer c.mu.RUnlock()
147 return c.backend
148}
149
150func (c *Controller) keepAliveTracker(ctx context.Context, keepAlive time.Duration) {
151 ticker := time.NewTicker(5 * time.Second)

Callers 15

StartMethod · 0.80
checkBackendStatusFunction · 0.80
GetStatsMethod · 0.80
GetUserOnlineStatsMethod · 0.80
GetBackendStatsMethod · 0.80
GetLogsMethod · 0.80
SyncUserMethod · 0.80
SyncUsersMethod · 0.80
SyncUsersChunkedMethod · 0.80
StartMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected