encoding

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ContentTypeHeader for defining content types
	ContentTypeHeader string = "Content-Type"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Decode

type Decode func(data io.Reader, v interface{}) error

Decode definition of a JSON decoding function from a reader.

type DecodeRaw

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

DecodeRaw definition of a JSON decoding function from a byte slice.

type Encode

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

Encode definition of a JSON encoding function.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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