Documentation ¶
Overview ¶
Package webhooks provides webhook fulfilment endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSignature ¶
ComputeSignature builds the expected webhook signature from a Twilio request as described in https://www.twilio.com/docs/usage/security#validating-requests.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) HandleTwilio ¶
func (c *Controller) HandleTwilio() http.Handler
HandleTwilio handles secrets rotation.
type TwilioWebhookPayload ¶
type TwilioWebhookPayload struct {
ErrorCode string `json:"error_code"`
}
Click to show internal directories.
Click to hide internal directories.