v1

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2016 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler() http.Handler

Types

type Client

type Client struct {
	BaseURL url.URL
	Client  http.Client
}

func NewClient

func NewClient(addr string) (*Client, error)

func (*Client) Metric

func (c *Client) Metric(name string) (stats.Metric, error)

func (*Client) Metrics

func (c *Client) Metrics() ([]stats.Metric, error)

Returns a snapshot of metrics for the currently running test.

func (*Client) Ping

func (c *Client) Ping() error

func (*Client) Status

func (c *Client) Status() (lib.Status, error)

Status returns the status of the currently running test.

func (*Client) UpdateStatus

func (c *Client) UpdateStatus(status lib.Status) (lib.Status, error)

Updates the status of the currently running test.

Jump to

Keyboard shortcuts

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