encoding

package
v0.16.1-beta Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2016 License: Apache-2.0 Imports: 4 Imported by: 50

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGobEncoder

func NewGobEncoder() *gobEncoder

func NewJsonEncoder

func NewJsonEncoder() *jsonEncoder

Types

type Encoder

type Encoder interface {
	Encode(interface{}) ([]byte, error)
	Decode([]byte, interface{}) error
	SetEncrypter(*encrypter.Encrypter)
}

Jump to

Keyboard shortcuts

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