Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainreactors/EvilProxy
/ SubscribeErrors
Function
SubscribeErrors
internal/redisqueue/queue.go:102–104 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
100
}
101
102
func
SubscribeErrors() (<-
chan
[]byte,
func
()) {
103
return
errorGlobal.subscribe(errorSubscriberBuffer, nil)
104
}
105
106
func
NotifyUsageRefresh() {
107
global.publishToSubscribers([]byte(usageRefreshPayload))
Callers
6
subscribeRedisChannel
Function · 0.92
TestManagerMarkResultPublishesErrorEventAfterAuthStateUpdate
Function · 0.92
TestManagerMarkResultSkipsErrorEventInHomeMode
Function · 0.92
TestSetEnabledFalseClosesUsageSubscribers
Function · 0.85
TestEnqueueErrorBroadcastsToErrorSubscribersAndDiscardsWithoutSubscribers
Function · 0.85
TestNotifyUsageRefreshBroadcastsOnlyToUsageSubscribers
Function · 0.85
Calls
1
subscribe
Method · 0.80
Tested by
5
TestManagerMarkResultPublishesErrorEventAfterAuthStateUpdate
Function · 0.74
TestManagerMarkResultSkipsErrorEventInHomeMode
Function · 0.74
TestSetEnabledFalseClosesUsageSubscribers
Function · 0.68
TestEnqueueErrorBroadcastsToErrorSubscribersAndDiscardsWithoutSubscribers
Function · 0.68
TestNotifyUsageRefreshBroadcastsOnlyToUsageSubscribers
Function · 0.68