Documentation ¶ Index ¶ type Client func New(uri string, httpClient *http.Client) (*Client, error) func (c *Client) Do(req *http.Request) (*http.Response, error) func (c *Client) Get(uri string) (*http.Response, error) func (c *Client) Ping() (*composeResponse, error) func (c *Client) Version() (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { URI string // contains filtered or unexported fields } func New ¶ func New(uri string, httpClient *http.Client) (*Client, error) func (*Client) Do ¶ func (c *Client) Do(req *http.Request) (*http.Response, error) func (*Client) Get ¶ func (c *Client) Get(uri string) (*http.Response, error) func (*Client) Ping ¶ func (c *Client) Ping() (*composeResponse, error) func (*Client) Version ¶ func (c *Client) Version() (string, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.