Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyToken is used the the incoming request has not token set ErrEmptyToken = errors.New("the token can't be empty") // ErrInvalidToken is used the the incoming request has an invalid token ErrInvalidToken = errors.New("the token is invalid") // ErrReadBody is used the the incoming request can't be read ErrReadBody = errors.New("failed to read the request body") )
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func (*Validator) IsSupported ¶
Click to show internal directories.
Click to hide internal directories.