binding

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnableDecoderDisallowUnknownFields = false
View Source
var EnableUseNumber = false

Functions

This section is empty.

Types

type Binding

type Binding interface {
	Name() string
	Bind(r *http.Request, obj interface{}) error
}

type BindingBody

type BindingBody interface {
	Binding
	BindBody(buf []byte, obj interface{}) error
}

type StructValidator

type StructValidator interface {
	ValidateStruct(interface{}) error
	Engine() interface{}
}
var Validator StructValidator = &defaultValidator{}

Jump to

Keyboard shortcuts

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