encoding

package
v10.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalBody

func UnmarshalBody(body io.Reader, v interface{}, unmarshaler UnmarshalerFunc) error

UnmarshalBody reads the request's body and binds it to a value or pointer of any type.

Types

type UnmarshalerFunc

type UnmarshalerFunc func(data []byte, v interface{}) error

UnmarshalerFunc is the Unmarshaler compatible type.

See 'unmarshalBody' for more.

Jump to

Keyboard shortcuts

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