Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct { }
Validator implements our validator domain interface. It is used by each http endpoint to validate received parameters.
func NewValidator ¶
func NewValidator() *Validator
NewValidator returns a Validator that can be used by any http endpoint to validate its parameters.
Click to show internal directories.
Click to hide internal directories.