MCPcopy Index your code
hub / github.com/coder/coder / newFakeCollector

Function newFakeCollector

agent/stats_internal_test.go:188–194  ·  view source on GitHub ↗
(t testing.TB)

Source from the content-addressed store, hash-verified

186}
187
188func newFakeCollector(t testing.TB) *fakeCollector {
189 return &fakeCollector{
190 t: t,
191 calls: make(chan map[netlogtype.Connection]netlogtype.Counts),
192 stats: make(chan *proto.Stats),
193 }
194}
195
196type fakeStatsDest struct {
197 reqs chan *proto.UpdateStatsRequest

Callers 1

TestStatsReporterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected