Documentation ¶
Index ¶
- type HTTPClient
- type HTTPError
- type HTTPErrorList
- type IntercomError
- type IntercomHTTPClient
- func (c IntercomHTTPClient) Delete(url string, queryParams interface{}) ([]byte, error)
- func (c IntercomHTTPClient) Get(url string, queryParams interface{}) ([]byte, error)
- func (c IntercomHTTPClient) Patch(url string, body interface{}) ([]byte, error)
- func (c IntercomHTTPClient) Post(url string, body interface{}) ([]byte, error)
- func (c IntercomHTTPClient) UserAgentHeader() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type HTTPError ¶
type HTTPErrorList ¶
type IntercomError ¶
type IntercomHTTPClient ¶
type IntercomHTTPClient struct { *http.Client BaseURI *string AppID string APIKey string ClientVersion *string Debug *bool }
func NewIntercomHTTPClient ¶
func NewIntercomHTTPClient(appID, apiKey string, baseURI, clientVersion *string, debug *bool) IntercomHTTPClient
func (IntercomHTTPClient) Delete ¶
func (c IntercomHTTPClient) Delete(url string, queryParams interface{}) ([]byte, error)
func (IntercomHTTPClient) Get ¶
func (c IntercomHTTPClient) Get(url string, queryParams interface{}) ([]byte, error)
func (IntercomHTTPClient) Patch ¶
func (c IntercomHTTPClient) Patch(url string, body interface{}) ([]byte, error)
func (IntercomHTTPClient) Post ¶
func (c IntercomHTTPClient) Post(url string, body interface{}) ([]byte, error)
func (IntercomHTTPClient) UserAgentHeader ¶
func (c IntercomHTTPClient) UserAgentHeader() string
Click to show internal directories.
Click to hide internal directories.