MCPcopy Index your code
hub / github.com/netdata/netdata / newTestHandler

Function newTestHandler

src/go/plugin/framework/dyncfg/handler_test.go:117–119  ·  view source on GitHub ↗
(cb *mockCallbacks)

Source from the content-addressed store, hash-verified

115}
116
117func newTestHandler(cb *mockCallbacks) *Handler[testConfig] {
118 return newTestHandlerWithWaitTimeout(cb, 5*time.Second)
119}
120
121func newTestHandlerWithWaitTimeout(cb *mockCallbacks, waitTimeout time.Duration) *Handler[testConfig] {
122 var buf bytes.Buffer

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…