Versions in this module Expand all Collapse all v0 v0.0.1 Apr 5, 2022 Changes in this version + const MIMEHTML + const MIMEJSON + const MIMEMSGPACK + const MIMEMSGPACK2 + const MIMEMultipartPOSTForm + const MIMEPOSTForm + const MIMEPROTOBUF + const MIMEPlain + const MIMEXML + const MIMEXML2 + const MIMEYAML + var EnableDecoderDisallowUnknownFields = false + var EnableDecoderUseNumber = false + var Form = formBinding + var FormMultipart = formMultipartBinding + var FormPost = formPostBinding + var Header = headerBinding + var JSON = jsonBinding + var MsgPack = msgpackBinding + var ProtoBuf = protobufBinding + var Query = queryBinding + var Uri = uriBinding + var XML = xmlBinding + var YAML = yamlBinding + type Binding interface + Bind func(*http.Request, interface{}) error + Name func() string + func Default(method, contentType string) Binding + type BindingBody interface + BindBody func([]byte, interface{}) error + type BindingUri interface + BindUri func(map[string][]string, interface{}) error + Name func() string + type StructValidator interface + Engine func() interface{} + ValidateStruct func(interface{}) error + var Validator StructValidator = &defaultValidator{}