Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPClient ¶
HTTPClient interface
type ListRequest ¶
func (ListRequest) BuildPath ¶
func (l ListRequest) BuildPath() string
BuildPath creates the API path for a task request
func (ListRequest) GetJSON ¶
func (t ListRequest) GetJSON(apiPath string) []byte
GetJSON accepts an API path and returns byte payload of JSON data
type TaskRequest ¶
func (TaskRequest) BuildPath ¶
func (t TaskRequest) BuildPath() string
BuildPath creates the API path for a task request
func (TaskRequest) GetJSON ¶
func (t TaskRequest) GetJSON(apiPath string) []byte
GetJSON accepts an API path and returns byte payload of JSON data
Click to show internal directories.
Click to hide internal directories.