Versions in this module Expand all Collapse all v0 v0.1.0 Apr 13, 2021 Changes in this version + type APIResponse struct + Data []interface{} + Request *RequestInfo + Status *Status + type BearerAuthTransport struct + func (t *BearerAuthTransport) RoundTrip(req *http.Request) (*http.Response, error) + type Client struct + Server string + Wellness *Wellness + func NewClient(baseURL string, opts ...ClientOption) (*Client, error) + func NewClientFromEnvironment(opts ...ClientOption) (*Client, error) + func (c *Client) Debugf(format string, v ...interface{}) + func (c *Client) Errorf(format string, v ...interface{}) + func (c *Client) Tracef(format string, v ...interface{}) + func (c *Client) Warnf(format string, v ...interface{}) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithContext(ctx context.Context) ClientOption + func WithLogin(user string, password string) ClientOption + func WithTrace(trace bool) ClientOption + func WithUserAgent(userAgent string) ClientOption + type Fault struct + Detail *FaultDetail + FaultString string + type FaultDetail struct + ErrorCode string + type FaultResponse struct + Fault *Fault + Status string + StatusCode int + func NewFaultResponse(r *http.Response) (*FaultResponse, error) + func (e *FaultResponse) Error() string + type FilterInfo struct + Query map[string]string + type HTTPRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type Order []string + type PagingInfo struct + Limit int + Skip int + type RequestInfo struct + Filter *FilterInfo + Paging *PagingInfo + Sort *Sorting + type Sorting []Order + type Status struct + Message string + type Wellness struct + Version string + func NewWellness(client *Client) *Wellness + func (w *Wellness) GetIssues() (interface{}, error) + func (w *Wellness) GetObjectSet(objectSet string) (interface{}, error)