requester

package
v0.0.0-...-e695a19 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	hey.Report
	C   int
	URL string
	// contains filtered or unexported fields
}

func (*Report) CDF

func (r *Report) CDF() Sequence

func (*Report) PDF

func (r *Report) PDF() Sequence

type Requester

type Requester interface {
	Run(ctx context.Context, c int) io.Reader
}

func New

func New(req *http.Request, tmpl string) Requester

func NewCSV

func NewCSV(req *http.Request) Requester

func NewJSON

func NewJSON(req *http.Request) Requester

type Sequence

type Sequence struct {
	Labels []time.Duration
	Values []float64
}

Jump to

Keyboard shortcuts

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