Documentation ¶
Index ¶
Constants ¶
View Source
const SignatureHeader = "X-WC-Webhook-Signature"
SignatureHeader is the name of the HTTP header in which the webhook signature of the payload is given.
Variables ¶
This section is empty.
Functions ¶
func CheckPayload ¶
CheckPayload checks if the signature of the data is correct, using the webhook secret key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.