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

Struct RAWInput

input_raw.go:36–44  ·  view source on GitHub ↗

RAWInput used for intercepting traffic for given address

Source from the content-addressed store, hash-verified

34
35// RAWInput used for intercepting traffic for given address
36type RAWInput struct {
37 sync.Mutex
38 RAWInputConfig
39 messageStats []tcp.Stats
40 listener *capture.Listener
41 messageParser *tcp.MessageParser
42 cancelListener context.CancelFunc
43 closed bool
44}
45
46// NewRAWInput constructor for RAWInput. Accepts raw input config as arguments.
47func NewRAWInput(address string, config RAWInputConfig) (i *RAWInput) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected