binding

package
v0.0.0-...-def5eec Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2015 License: MIT, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_MEMORY = 1 * 1024 * 1024

Variables

View Source
var (
	JSON          = jsonBinding{}
	XML           = xmlBinding{}
	Form          = formBinding{} // todo
	MultipartForm = multipartFormBinding{}
)

Functions

func Validate

func Validate(obj interface{}, parents ...string) error

Types

type Binding

type Binding interface {
	Bind(*http.Request, interface{}) error
}

Jump to

Keyboard shortcuts

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