github

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidSignature = errors.New("invalid webhook signature")
	ErrMissingSignature = errors.New("missing X-Hub-Signature-256 header")
)

Functions

This section is empty.

Types

type Receiver

type Receiver struct{}

func NewReceiver

func NewReceiver() *Receiver

func (*Receiver) Parse

func (p *Receiver) Parse(req *http.Request, body []byte) (receiver.ParseResult, error)

func (*Receiver) Validate

func (p *Receiver) Validate(req *http.Request, secretToken, body []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL