Documentation ¶
Index ¶
Constants ¶
View Source
const CSV_HEADERS = "status_code,time,path"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVReporter ¶ added in v0.0.3
type CSVReporter struct{}
func (CSVReporter) Report ¶ added in v0.0.3
func (r CSVReporter) Report(responses []swarm.HTTPResponse) (string, error)
type JSONReporter ¶ added in v0.0.3
type JSONReporter struct{}
func (JSONReporter) Report ¶ added in v0.0.3
func (r JSONReporter) Report(responses []swarm.HTTPResponse) (string, error)
type Report ¶ added in v0.0.3
type Report struct { Output string Reporter Reporter Responses []swarm.HTTPResponse Type string }
func NewReporter ¶
func NewReporter(reportType, output string, responses []swarm.HTTPResponse) Report
type TXTReporter ¶ added in v0.0.3
type TXTReporter struct {
Responses []swarm.HTTPResponse
}
func (TXTReporter) Report ¶ added in v0.0.3
func (r TXTReporter) Report(responses []swarm.HTTPResponse) (string, error)
Click to show internal directories.
Click to hide internal directories.