TestInput used for testing purpose, it allows emitting requests on demand
| 12 | |
| 13 | // TestInput used for testing purpose, it allows emitting requests on demand |
| 14 | type 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 |
| 21 | func NewTestInput() (i *TestInput) { |
nothing calls this directly
no outgoing calls
no test coverage detected