Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
APIClientUA = version.HttpString("go-api-client")
)
Functions ¶
func New ¶
func New(options ...ClientOption) (c *client, err error)
Types ¶
type ClientOption ¶
type ClientOption func(*client)
func BaseURL ¶
func BaseURL(u *url.URL) ClientOption
func UnixSocket ¶
func UnixSocket(p string) ClientOption
type ProgressCallback ¶
type ProgressCallback func(ProgressMsg)
Click to show internal directories.
Click to hide internal directories.