webhook

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

type Webhook struct {
	URL     []string `yaml:"urls,omitempty"`
	Success *bool    `yaml:"on_success,omitempty"`
	Failure *bool    `yaml:"on_failure,omitempty"`
}

func (*Webhook) Send

func (w *Webhook) Send(context *model.Request) error

Jump to

Keyboard shortcuts

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