package
Version:
v0.0.0-...-80bedfa
Opens a new window with list of versions in this module.
Published: May 3, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Hook interface {
Trigger() error
}
A Hook triggers an action in an external process by making an HTTP request.
A Webhook triggers an action in an external process by making a basic HTTP
GET request with no parameters or request body.
New creates a new Webhook.
Trigger sends an HTTP GET to the webhook's URL. Trigger returns an error when
it encounters any HTTP status code that is not a 200 OK.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.