Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sinker ¶
type Sinker interface {
// Mount is called upon being mount to a hooker, common tasks performed inside Mount:
// - Check flag values.
Mount() error
// Process processes the payload extracted by the Hooker.
Process(c context.Context, path string, payload interface{}) error
}
Sinker is the interface for receiving the webhook payload from the Hooker
Click to show internal directories.
Click to hide internal directories.