Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Factories = make(map[string]func(cfg *config.Config, test *config.Test) (Parser, error))
Factories contains the list of all available testers. The parser can each then be created using the function saved in the map.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct {
TestStartTime time.Time
TestTime time.Time
Round int
DataStream *io.ReadCloser
Data []byte
Tester string
ServerHost string
ClientHost string
AdditionalInfo string
}
Input structured parse
type Parser ¶
type Parser interface {
// Parse parse data from runners.Execute() func
Parse(doneCh chan struct{}, inCh <-chan Input, dataCh chan<- outputs.Data) error
// Summary send summary of parsed data to outputs.Output
Summary(doneCh chan struct{}, inCh <-chan Input, dataCh chan<- outputs.Data) error
}
Parser is the interface a parser has to implement
Click to show internal directories.
Click to hide internal directories.