MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / mockTaskQueue

Struct mockTaskQueue

pkg/telemetry/exporter/task_queue_test.go:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30)
31
32type mockTaskQueue struct {
33 dispatchCounter map[string]uint
34 popCounter map[string]uint
35 sync.Mutex
36}
37
38func (mtq *mockTaskQueue) GetDispatchCounter(consumerID string) uint {
39 mtq.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected