package
0.0.5
Repository: https://github.com/d4x1/httpsign.git
Documentation: pkg.go.dev

# Functions

NewDateValidator return DateValidator with default value (30 second).
NewDigestValidator return pointer of new DigestValidator.

# Variables

ErrDateNotInRange error when date not in acceptable range.
ErrInvalidDigest error when sha256 of body do not match with submitted digest.

# Structs

DateValidator checking validate by time range.
DigestValidator checking digest in header match body.

# Interfaces

Validator interface for checking if a request is valid or not.