Versions in this module Expand all Collapse all v0 v0.11.0 Nov 6, 2026 Changes in this version + const MaxBodyBytes + func FirstHeader(r *http.Request, names ...string) string + func IsZeroSHA(sha string) bool + func IssueAsPullRequest(i forges.Issue) forges.PullRequest + func Payload(contentType string, body []byte) ([]byte, error) + func ReadBody(r *http.Request) ([]byte, error) + func ValidHMACSHA256(payload []byte, secret, signature string) bool + func ValidToken(token, secret string) bool