probe

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTimeout = 30 * time.Second

DefaultTimeout used for requests

Functions

This section is empty.

Types

type Client added in v1.6.0

type Client struct {
	// contains filtered or unexported fields
}

Client for accessing the http probe

func NewClient added in v1.6.0

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

NewClient creates a new http client with DefaultTransport

func (*Client) GetHello added in v1.6.0

func (c *Client) GetHello() error

GetHello performs a GET request on the /hello endpoint

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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