package
0.0.7
Repository: https://github.com/stremovskyy/httpsign.git
Documentation: pkg.go.dev

# Functions

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

# Variables

ErrDateNotInRange error when date not in aceptable 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.