Documentation ¶
Overview ¶
Package webhook implements webhook based response listener.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
AdvertiseURL: "http://0.0.0.0:8080",
PathPrefix: "/callback",
}
DefaultConfig for webhook
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AdvertiseURL string `json:"advertise_url" yaml:"advertise_url"` PathPrefix string `json:"path_prefix" yaml:"path_prefix"` }
Config options
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
Listener implements a replicant callback.Listener for http webhooks
Click to show internal directories.
Click to hide internal directories.