encoding

package
v8.5.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2017 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