Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedCallbackDriver = errors.New("unsupported callback driver")
)
Functions ¶
func ToCallback ¶
Types ¶
type CallbackFactory ¶
type DummyCallback ¶
type DummyCallback struct{}
type WebhookCallback ¶
type WebhookCallback struct {
// contains filtered or unexported fields
}
type WebhookCallbackOption ¶
type WebhookCallbackOption struct { AllowPlainText bool Insecure bool UserAgent string CustomHeaders map[string]string TagPrefix string Url string Timeout time.Duration }
func NewWebhookCallbackOption ¶
func NewWebhookCallbackOption() *WebhookCallbackOption
Click to show internal directories.
Click to hide internal directories.