Documentation ¶ Index ¶ type Client func New(host, endpoint, circleToken string) *Client func (c *Client) DoRequest(req *http.Request, resp interface{}) (statusCode int, err error) func (c *Client) NewRequest(method string, u *url.URL, payload interface{}) (req *http.Request, err error) type HTTPError func (e *HTTPError) Error() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func New ¶ func New(host, endpoint, circleToken string) *Client func (*Client) DoRequest ¶ func (c *Client) DoRequest(req *http.Request, resp interface{}) (statusCode int, err error) func (*Client) NewRequest ¶ func (c *Client) NewRequest(method string, u *url.URL, payload interface{}) (req *http.Request, err error) type HTTPError ¶ type HTTPError struct { Code int Message string } func (*HTTPError) Error ¶ func (e *HTTPError) Error() string Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.