marshal

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarshalFunc

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

func (MarshalFunc) Marshal

func (u MarshalFunc) Marshal(input interface{}) ([]byte, error)

type Marshaler

type Marshaler interface {
	Marshal(input interface{}) ([]byte, error)
}

type UnmarshalFunc

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

func (UnmarshalFunc) Unmarshal

func (u UnmarshalFunc) Unmarshal(input []byte, output interface{}) error

type Unmarshaler

type Unmarshaler interface {
	Unmarshal(input []byte, output interface{}) error
}

Jump to

Keyboard shortcuts

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