Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // the URL where our webhook will be delivered Target string `yaml:"target" json:"target"` // the callback url where notifications can be received // the notification will be appended to this url Callback string `yaml:"callback" json:"callback"` // any htp headers necessary for the request to Target Headers http.Header `yaml:"headers" json:"headers"` // whether the webhook deliverer will sign out going. // if true webhooks will be sent with a jwt signed by // the notifier's private key. Signed bool `yaml:"signed" json:"signed"` // contains filtered or unexported fields }
Config provides configuration for an Webhook deliverer.
Click to show internal directories.
Click to hide internal directories.