MCPcopy
hub / github.com/google/gopacket / testReaderFactory

Struct testReaderFactory

tcpassembly/tcpreader/reader_test.go:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 want []readReturn
35}
36type testReaderFactory struct {
37 lossErrors bool
38 readSize int
39 ReaderStream
40 output chan []byte
41}
42
43func (t *testReaderFactory) New(a, b gopacket.Flow) tcpassembly.Stream {
44 return &t.ReaderStream

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected