Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookDaemon ¶
type WebhookDaemon struct {
// contains filtered or unexported fields
}
func NewWebhookDaemon ¶
func NewWebhookDaemon(host string, port int) (*WebhookDaemon, error)
func NewWebhookDaemonFromConfig ¶
func NewWebhookDaemonFromConfig(cfg *config.WebhookConfig) (*WebhookDaemon, error)
func (*WebhookDaemon) AddWebhook ¶
func (d *WebhookDaemon) AddWebhook(wh webhook.Webhook) error
func (*WebhookDaemon) AddWebhooksFromConfig ¶
func (d *WebhookDaemon) AddWebhooksFromConfig(cfg *config.WebhookConfig) error
func (*WebhookDaemon) HandlerFunc ¶
func (d *WebhookDaemon) HandlerFunc() (http.HandlerFunc, error)
func (*WebhookDaemon) Start ¶
func (d *WebhookDaemon) Start() error
Click to show internal directories.
Click to hide internal directories.