Versions in this module Expand all Collapse all v1 v1.8.2 Feb 6, 2024 v1.7.1 Feb 6, 2024 Changes in this version + var ErrMalformedBody = errors.New("HTTP request body is either empty or malformed") + var ErrMalformedHeader = errors.New("X-PagerDuty-Signature header is either missing or malformed") + var ErrNoValidSignatures = errors.New("invalid webhook signature") + func VerifySignature(r *http.Request, secret string) error