MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Enabled

Method Enabled

internal/home/client.go:104–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104func (c *Client) Enabled() bool {
105 if c == nil {
106 return false
107 }
108 c.mu.Lock()
109 defer c.mu.Unlock()
110 return c.homeCfg.Enabled
111}
112
113func (c *Client) HeartbeatOK() bool {
114 if c == nil {

Callers 4

HeartbeatOKMethod · 0.95
ensureClientsMethod · 0.95
StartConfigSubscriberMethod · 0.95
CurrentKVClientFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected