Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrCannotParseInput ¶
type ErrCannotParseInput struct {
Input string
}
func (*ErrCannotParseInput) Error ¶
func (e *ErrCannotParseInput) Error() string
type Parser ¶
type Parser interface {
Parse(in string) []TCPDumpLine
}
type TCPDumpLine ¶
type TCPDumpParser ¶
type TCPDumpParser struct {
// contains filtered or unexported fields
}
func NewParser ¶
func NewParser(logg Logger) *TCPDumpParser
func (*TCPDumpParser) Parse ¶
func (t *TCPDumpParser) Parse(in string) []TCPDumpLine
type TCPDumpRunner ¶
type TCPDumpRunner struct {
// contains filtered or unexported fields
}
func (*TCPDumpRunner) Run ¶
func (t *TCPDumpRunner) Run(ctx context.Context, warmingUpTime, snapshotPeriod int) chan TopTalkers
type TopTalkerByProtocol ¶
type TopTalkerByTraffic ¶
type TopTalkers ¶
type TopTalkers struct { ByProtocol []TopTalkerByProtocol ByTraffic []TopTalkerByTraffic }
Click to show internal directories.
Click to hide internal directories.