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

Function SetEnabled

internal/redisqueue/queue.go:43–49  ·  view source on GitHub ↗
(value bool)

Source from the content-addressed store, hash-verified

41}
42
43func SetEnabled(value bool) {
44 enabled.Store(value)
45 if !value {
46 global.clear()
47 errorGlobal.clear()
48 }
49}
50
51func Enabled() bool {
52 return enabled.Load()

Calls 1

clearMethod · 0.80