Versions in this module Expand all Collapse all v0 v0.1.1 Jul 7, 2023 v0.1.0 Mar 24, 2023 Changes in this version + func IsAdminError(err error) bool + type Client struct + HTTPClient *http.Client + ServiceURL string + VersionInfo string + func (c *Client) Delete(endpoint string) error + func (c *Client) DeleteWithQueryParams(endpoint string, params map[string]string) error + func (c *Client) Get(endpoint string, obj interface{}) error + func (c *Client) GetWithOptions(endpoint string, obj interface{}, params map[string]string, decode bool, ...) ([]byte, error) + func (c *Client) GetWithQueryParams(endpoint string, obj interface{}, params map[string]string, decode bool) ([]byte, error) + func (c *Client) MakeRequest(method, endpoint string) (*http.Response, error) + func (c *Client) Post(endpoint string, in interface{}) error + func (c *Client) PostWithMultiPart(endpoint string, in interface{}, body io.Reader, contentType string) error + func (c *Client) PostWithObj(endpoint string, in, obj interface{}) error + func (c *Client) PostWithQueryParams(endpoint string, in interface{}, params map[string]string) error + func (c *Client) Put(endpoint string, in interface{}) error + func (c *Client) PutWithMultiPart(endpoint string, body io.Reader, contentType string) error + func (c *Client) PutWithQueryParams(endpoint string, in, obj interface{}, params map[string]string) error + type Error struct + Code int + Reason string + func (e Error) Error() string