binding

package
v0.0.0-...-bfbd1c2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JSON = jsonBinding{}
	TOML = tomlBinding{}
	XML  = xmlBinding{}
	YAML = yamlBinding{}
)

Functions

This section is empty.

Types

type Binder

type Binder interface {
	Name() string
	Bind(*http.Request, any) error
}

type SliceValidationError

type SliceValidationError []error

func (SliceValidationError) Error

func (err SliceValidationError) Error() string

type StructValidator

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

Jump to

Keyboard shortcuts

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