var httpCache …
var cacheLock …
func NewClient(host, version, userAgent string) (*Client, error) { … }
func NewAuthClient(host, version, authstring, accesstoken, userAgent string) (*Client, error) { … }
func GetUnixServerPath(socketName string, paths ...string) string { … }
type Client …
func (c *Client) Status() (*Status, error) { … }
func (c *Client) Versions(endpoint string) ([]string, error) { … }
func (c *Client) Get() *Request { … }
func (c *Client) Post() *Request { … }
func (c *Client) Put() *Request { … }
func (c *Client) Delete() *Request { … }
func unix2HTTP(u *url.URL) { … }
func newHTTPClient(
u *url.URL,
tlsConfig *tls.Config,
timeout time.Duration,
responseTimeout time.Duration,
) *http.Client { … }
func getHTTPClient(host string) *http.Client { … }