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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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