Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
type Webhook interface {
Register(router *mux.Router, acc tinymonitor.Accumulator)
}
type Webhooks ¶
type Webhooks struct { ServiceAddress string Github *github.GithubWebhook Filestack *filestack.FilestackWebhook Mandrill *mandrill.MandrillWebhook Rollbar *rollbar.RollbarWebhook Papertrail *papertrail.PapertrailWebhook Particle *particle.ParticleWebhook // contains filtered or unexported fields }
func NewWebhooks ¶
func NewWebhooks() *Webhooks
func (*Webhooks) AvailableWebhooks ¶
Looks for fields which implement Webhook interface
func (*Webhooks) Description ¶
func (*Webhooks) Gather ¶
func (wb *Webhooks) Gather(_ tinymonitor.Accumulator) error
func (*Webhooks) SampleConfig ¶
func (*Webhooks) Start ¶
func (wb *Webhooks) Start(acc tinymonitor.Accumulator) error
Click to show internal directories.
Click to hide internal directories.