MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / NewQueue

Function NewQueue

internal/utils/agents/queue.go:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35func NewQueue() *Queue {
36 return &Queue{
37 c: make(chan string, 128),
38 cacheMap: NewIPCacheMap(65535),
39 }
40}
41
42func (this *Queue) Start() {
43 for ip := range this.c {

Callers 5

TestParseQueue_ProcessFunction · 0.92
TestParseQueue_ParseIPFunction · 0.92
TestParseQueue_ParsePtrFunction · 0.92
BenchmarkQueue_ParsePtrFunction · 0.92
queue.goFile · 0.85

Calls 1

NewIPCacheMapFunction · 0.85

Tested by 4

TestParseQueue_ProcessFunction · 0.74
TestParseQueue_ParseIPFunction · 0.74
TestParseQueue_ParsePtrFunction · 0.74
BenchmarkQueue_ParsePtrFunction · 0.74