custombinder

package
v0.0.0-...-4aab545 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindUnmarshaler

type BindUnmarshaler interface {
	// UnmarshalParam decodes and assigns a value from an form or query param.
	UnmarshalParam(param string) error
}

BindUnmarshaler -- unmarshaller

type CustomBinder

type CustomBinder struct{}

CustomBinder -- custom binder that works on requests other than form-encoded and application/json

func (*CustomBinder) Bind

func (b *CustomBinder) Bind(i interface{}, c echo.Context) error

Bind -- bind the parameters using the custom binder

Jump to

Keyboard shortcuts

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