validation

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL