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

Function Enqueue

internal/redisqueue/queue.go:65–76  ·  view source on GitHub ↗
(payload []byte)

Source from the content-addressed store, hash-verified

63}
64
65func Enqueue(payload []byte) {
66 if !Enabled() {
67 return
68 }
69 if len(payload) == 0 {
70 return
71 }
72 if global.publishToSubscribers(payload) {
73 return
74 }
75 global.enqueue(payload)
76}
77
78func EnqueueError(payload []byte) {
79 if !Enabled() {

Calls 3

EnabledFunction · 0.85
publishToSubscribersMethod · 0.80
enqueueMethod · 0.80