Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskCompleteRequest ¶
type TaskCompleteRequest struct { Data struct { Token string `json:"token"` } `json:"data"` }
TaskCompleteRequest is what's sent to a webhook upon task completion
type TaskErrorRequest ¶
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
Webhook holds methods for posting to webhooks
func CreateService ¶
func CreateService() *Webhook
CreateService creates an instance of the webhook service object
func (Webhook) BuildTaskCompleteRequest ¶
BuildTaskCompleteRequest builds a task complete request
func (Webhook) BuildTaskErrorRequest ¶
BuildTaskCompleteRequest builds an task errored request
Click to show internal directories.
Click to hide internal directories.