bind

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedMediaType = errors.New("unsupported media type")

ErrUnsupportedMediaType - err unsupported media type

View Source
var ErrZeroContent = errors.New("request body can't be empty")

ErrZeroContent - Request body can't be empty

Functions

This section is empty.

Types

type PBBinder

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

PBBinder interface for Bind PBJSON and JSON

func NewBinder

func NewBinder() PBBinder

NewBinder New PBBinder

Jump to

Keyboard shortcuts

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