Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookSecret ¶
type WebhookSecret string
func NewWebhookSecret ¶
func NewWebhookSecret(secret string) *WebhookSecret
func (*WebhookSecret) ValidateSignature ¶
func (s *WebhookSecret) ValidateSignature(body []byte, headers map[string]string) error
Click to show internal directories.
Click to hide internal directories.