myFactory implements tcpassmebly.StreamFactory
| 59 | |
| 60 | // myFactory implements tcpassmebly.StreamFactory |
| 61 | type myFactory struct { |
| 62 | // bidiMap maps keys to bidirectional stream pairs. |
| 63 | bidiMap map[key]*bidi |
| 64 | } |
| 65 | |
| 66 | // New handles creating a new tcpassembly.Stream. |
| 67 | func (f *myFactory) New(netFlow, tcpFlow gopacket.Flow) tcpassembly.Stream { |
nothing calls this directly
no outgoing calls
no test coverage detected