MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / Start

Method Start

internal/monitor/value_queue.go:43–49  ·  view source on GitHub ↗

Start 启动队列

()

Source from the content-addressed store, hash-verified

41
42// Start 启动队列
43func (this *ValueQueue) Start() {
44 // 这里单次循环就行,因为Loop里已经使用了Range通道
45 err := this.Loop()
46 if err != nil {
47 remotelogs.ErrorObject("MONITOR_QUEUE", err)
48 }
49}
50
51// Add 添加数据
52func (this *ValueQueue) Add(item string, value maps.Map) {

Callers

nothing calls this directly

Calls 2

LoopMethod · 0.95
ErrorObjectFunction · 0.92

Tested by

no test coverage detected