Documentation ¶
Index ¶
Constants ¶
View Source
const (
ContentTypeJson string = "application/json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Webhook)
func WithDefault ¶
func WithDefault() Option
func WithLogger ¶
func WithMethod ¶
func WithTimeout ¶
type Webhook ¶
func (Webhook) IntoBlueprint ¶
IntoBlueprint returns a Blueprint that is reconstructable this Webhook.
func (Webhook) PrepareRequest ¶
PrepareRequest returns the `http.Request` or an error using `session.Transaction`.
Click to show internal directories.
Click to hide internal directories.