Documentation ¶ Index ¶ type ApiClient func NewClient() *ApiClient func (api *ApiClient) Get(path string, queryParams *map[string]string) (*Response, error) func (api *ApiClient) Post(path string, params *map[string]interface{}) (*Response, error) type Response func (response *Response) ParseInto(dataStruct interface{}) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ApiClient ¶ type ApiClient struct { ApiToken string BaseUrl string } func NewClient ¶ func NewClient() *ApiClient func (*ApiClient) Get ¶ func (api *ApiClient) Get(path string, queryParams *map[string]string) (*Response, error) func (*ApiClient) Post ¶ func (api *ApiClient) Post(path string, params *map[string]interface{}) (*Response, error) type Response ¶ type Response struct { Status int Body []byte } func (*Response) ParseInto ¶ func (response *Response) ParseInto(dataStruct interface{}) error Source Files ¶ View all Source files api_client.go Directories ¶ Show internal Expand all Path Synopsis escalation_policies schedules schedule_overrides teams users Click to show internal directories. Click to hide internal directories.