Documentation ¶
Index ¶
- type Event
- type Meta
- type Status
- type Webhook
- func (w *Webhook) ExcludeMethodAndPath() bool
- func (v *Webhook) HeaderValues(hdr http.Header) ([]string, []string, error)
- func (v *Webhook) LookupAPIKey(hdr http.Header) (string, error)
- func (v *Webhook) LookupSecret(apiKey string) ([]byte, error)
- func (w *Webhook) Middleware(next http.Handler) http.Handler
- func (v *Webhook) Signature(hdr http.Header) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Webhook ¶
func (*Webhook) ExcludeMethodAndPath ¶
Uber's webhook signature verification only consists of (clientSecret, webhookBody)
func (*Webhook) HeaderValues ¶
Click to show internal directories.
Click to hide internal directories.