Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hook ¶
type Hook struct { Method string `yaml:"method"` Headers http.Header `yaml:"headers"` Body string `yaml:"body"` }
Hook represents a single hook configuration.
func NewFromPath ¶
NewFromPath creates a new Hook from the given path.
func NewFromRequest ¶
NewFromRequest creates a new Hook from the given HTTP Request.
Click to show internal directories.
Click to hide internal directories.