MCPcopy
hub / github.com/probelabs/goreplay / TestInput

Struct TestInput

test_input.go:14–18  ·  view source on GitHub ↗

TestInput used for testing purpose, it allows emitting requests on demand

Source from the content-addressed store, hash-verified

12
13// TestInput used for testing purpose, it allows emitting requests on demand
14type TestInput struct {
15 data chan []byte
16 skipHeader bool
17 stop chan bool // Channel used only to indicate goroutine should shutdown
18}
19
20// NewTestInput constructor for TestInput
21func NewTestInput() (i *TestInput) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected