Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler for hooks.
func (*Handler) ServeHTTP ¶
func (h *Handler) ServeHTTP(resp http.ResponseWriter, req *http.Request, next http.HandlerFunc)
ServeHTTP for hooks.
type RoundTripper ¶
type RoundTripper struct { http.RoundTripper // contains filtered or unexported fields }
RoundTripper for hooks.
func NewRoundTripper ¶
func NewRoundTripper(hook *hooks.Webhook, rt http.RoundTripper) *RoundTripper
NewRoundTripper for hooks.
Click to show internal directories.
Click to hide internal directories.