Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchValidatorMessage ¶
func SearchValidatorMessage(w http.ResponseWriter)
SearchValidatorMessage handles search validation errors.
func ValidatorMessage ¶
func ValidatorMessage(w http.ResponseWriter, err error)
ValidatorMessage handles validation error messages.
Types ¶
type APIValidator ¶
type APIValidator struct {
Errors []*errhandler.APIMessage `json:"errors"`
}
APIValidator type is a struct for multiple error messages.
Click to show internal directories.
Click to hide internal directories.