daemon

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2019 License: BSD-3-Clause Imports: 13 Imported by: 2

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL