Versions in this module Expand all Collapse all v0 v0.1.1 Oct 20, 2014 v0.1.0 Oct 20, 2014 Changes in this version + const ContentTypeError + const DeserializationError + const RequiredError + const StatusUnprocessableEntity + const TypeError + var MaxMemory = int64(1024 * 1024 * 10) + var TimeFormat = time.RFC3339 + type Binder interface + Bind func([]string, Errors) Errors + type Error struct + Classification string + FieldNames []string + Message string + func (e Error) Error() string + func (e Error) Fields() []string + func (e Error) Kind() string + type Errors []Error + func Bind(req *http.Request, userStruct FieldMapper) Errors + func Form(req *http.Request, userStruct FieldMapper) Errors + func Json(req *http.Request, userStruct FieldMapper) Errors + func MultipartForm(req *http.Request, userStruct FieldMapper) Errors + func Validate(req *http.Request, userStruct FieldMapper) Errors + func (e *Errors) Add(fieldNames []string, classification, message string) + func (e *Errors) Handle(response http.ResponseWriter) bool + func (e *Errors) Has(class string) bool + func (e *Errors) Len() int + type Field struct + Binder func([]string, Errors) Errors + Form string + Required bool + TimeFormat string + type FieldMap map[interface{}]interface + type FieldMapper interface + FieldMap func() FieldMap + type Validator interface + Validate func(*http.Request, Errors) Errors