reports

package
v0.0.0-...-fb642de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddReporter

func AddReporter(r Reporter)

func Run

func Run(ui common.UI, taskType string, conf common.ConfigGetter, rr *common.ResultArchiveReader) error

Types

type BaseReport

type BaseReport struct {
	ReportPriority int
}

func (*BaseReport) Priority

func (br *BaseReport) Priority() int

type ByPriority

type ByPriority []Reporter

func (ByPriority) Len

func (a ByPriority) Len() int

func (ByPriority) Less

func (a ByPriority) Less(i, j int) bool

func (ByPriority) Swap

func (a ByPriority) Swap(i, j int)

type HTTPResponseSize

type HTTPResponseSize struct {
	BaseReport
	// contains filtered or unexported fields
}

func (*HTTPResponseSize) ConsoleOutput

func (hrs *HTTPResponseSize) ConsoleOutput()

func (*HTTPResponseSize) Finished

func (hrs *HTTPResponseSize) Finished()

func (*HTTPResponseSize) Interest

func (hrs *HTTPResponseSize) Interest(ui common.UI, taskType string) bool

func (*HTTPResponseSize) ReadResult

func (hrs *HTTPResponseSize) ReadResult(rv *common.Result)

type Reporter

type Reporter interface {
	Priority() int
	Interest(ui common.UI, taskType string) bool
	ReadResult(*common.Result)
	Finished()
	ConsoleOutput()
}

type ResponseTime

type ResponseTime struct {
	BaseReport
	// contains filtered or unexported fields
}

func (*ResponseTime) ConsoleOutput

func (hrt *ResponseTime) ConsoleOutput()

func (*ResponseTime) Finished

func (hrs *ResponseTime) Finished()

func (*ResponseTime) Interest

func (hrs *ResponseTime) Interest(ui common.UI, taskType string) bool

func (*ResponseTime) ReadResult

func (hrs *ResponseTime) ReadResult(rv *common.Result)

type StringCounter

type StringCounter struct {
	Total int
	Data  map[string]int
}

func NewStringCounter

func NewStringCounter() *StringCounter

func (*StringCounter) Add

func (sc *StringCounter) Add(key string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL