Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
43
func
SetEnabled(value bool) {
44
enabled.Store(value)
45
if
!value {
46
global.clear()
47
errorGlobal.clear()
48
}
49
}
50
51
func
Enabled() bool {
52
return
enabled.Load()
Callers
15
TestGeminiExecutorRecordsSuccessfulZeroUsageInQueue
Function · 0.92
TestAuthFileClientChangesNotifyUsageSubscribersToRefresh
Function · 0.92
TestReloadClientsNotifiesUsageSubscribersToRefresh
Function · 0.92
NewServer
Function · 0.92
UpdateClients
Method · 0.92
TestManagementUsageRequiresManagementAuthAndPopsArray
Function · 0.92
TestRedisProtocol_ManagementDisabled_RejectsConnection
Function · 0.92
TestRedisProtocol_HomeEnabled_DisablesConnection
Function · 0.92
TestRedisProtocol_SUBSCRIBE_UsageSendsSupportRefresh
Function · 0.92
TestRedisProtocol_SUBSCRIBE_ErrorsReceivesErrorEvents
Function · 0.92
TestRedisProtocol_AUTH_And_PopContracts
Function · 0.92
withManagementUsageQueue
Function · 0.92
Calls
1
clear
Method · 0.80
Tested by
13
TestGeminiExecutorRecordsSuccessfulZeroUsageInQueue
Function · 0.74
TestAuthFileClientChangesNotifyUsageSubscribersToRefresh
Function · 0.74
TestReloadClientsNotifiesUsageSubscribersToRefresh
Function · 0.74
TestManagementUsageRequiresManagementAuthAndPopsArray
Function · 0.74
TestRedisProtocol_ManagementDisabled_RejectsConnection
Function · 0.74
TestRedisProtocol_HomeEnabled_DisablesConnection
Function · 0.74
TestRedisProtocol_SUBSCRIBE_UsageSendsSupportRefresh
Function · 0.74
TestRedisProtocol_SUBSCRIBE_ErrorsReceivesErrorEvents
Function · 0.74
TestRedisProtocol_AUTH_And_PopContracts
Function · 0.74
withManagementUsageQueue
Function · 0.74
withEnabledErrorQueue
Function · 0.74
withEnabledQueue
Function · 0.68