Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
HandlerFunc implements Handler interface using a single function.
type HandlerRegistrar ¶
type HandlerRegistrar interface {
// Register the given handler to the webhook server.
WithHandler(h Handler)
}
type Server ¶
type Server struct {
Addr string
Path string
Secret string
// contains filtered or unexported fields
}
func (*Server) WithHandler ¶
type Webhook ¶
func WebhookFor ¶
Click to show internal directories.
Click to hide internal directories.