Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
Webhook provides client interfaces for managing webhook registry on the QaaS server, using the RESTful interface.
func (*Webhook) Delete ¶
Delete removes a webhook with the given id.
The deletion maily removes webhook registry from QaaS server. If removeDir is true, the local webhook working directory is removed when the webhook is unregistered from the QaaS server.
func (*Webhook) List ¶
func (s *Webhook) List() (chan WebhookInfo, error)
List retrieves a list of webhooks of the current user. The information of webhooks is returned with a channel.
type WebhookInfo ¶
type WebhookInfo struct {
ID string
}
WebhookInfo is a data structure containing the information (and/or attributes) of a webhook.
Click to show internal directories.
Click to hide internal directories.