Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretHandler ¶
type SecretHandler struct { Path string // contains filtered or unexported fields }
func New ¶
func New(path string, secret []byte) *SecretHandler
func (SecretHandler) Validate ¶
func (s SecretHandler) Validate(hash []byte, contents []byte) bool
https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries
Click to show internal directories.
Click to hide internal directories.