httpclient

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*http.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(endpoint string, tlsClientConfig *tls.Config) *Client

func (Client) APIGet

func (c Client) APIGet(url string, out interface{}) error

func (Client) APIPost

func (c Client) APIPost(url string, out interface{}, in interface{}) error

func (Client) ExpandURI

func (c Client) ExpandURI(uri string) string

Jump to

Keyboard shortcuts

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