Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterReceiver ¶
func RegisterReceiver(ctx context.Context, mux *runtime.ServeMux, path string, recv Receiver, opts ...ReceiverOption) error
RegisterReceiver for HTTP.
Types ¶
type ReceiverOption ¶ added in v1.138.0
type ReceiverOption interface {
// contains filtered or unexported methods
}
ReceiverOption for HTTP.
func WithReceiverHook ¶ added in v1.138.0
func WithReceiverHook(hook *hooks.Webhook) ReceiverOption
WithReceiverHook for HTTP.
type SenderOption ¶ added in v1.138.0
type SenderOption interface {
// contains filtered or unexported methods
}
SenderOption for HTTP.
func WithSenderHook ¶ added in v1.138.0
func WithSenderHook(hook *hooks.Webhook) SenderOption
WithSenderHook for HTTP.
func WithSenderRoundTripper ¶ added in v1.138.0
func WithSenderRoundTripper(rt http.RoundTripper) SenderOption
WithSenderRoundTripper for HTTP.
Click to show internal directories.
Click to hide internal directories.