Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
type Webhook interface {
// Register registers the webhook with the provided router
Register(router *mux.Router, acc telegraf.Accumulator, log telegraf.Logger)
}
Webhook is an interface that all webhooks must implement
type Webhooks ¶
type Webhooks struct {
ServiceAddress string `toml:"service_address"`
ReadTimeout config.Duration `toml:"read_timeout"`
WriteTimeout config.Duration `toml:"write_timeout"`
Artifactory *artifactory.Webhook `toml:"artifactory"`
Filestack *filestack.Webhook `toml:"filestack"`
Github *github.Webhook `toml:"github"`
Mandrill *mandrill.Webhook `toml:"mandrill"`
Papertrail *papertrail.Webhook `toml:"papertrail"`
Particle *particle.Webhook `toml:"particle"`
Rollbar *rollbar.Webhook `toml:"rollbar"`
Log telegraf.Logger `toml:"-"`
// contains filtered or unexported fields
}
func (*Webhooks) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.