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)
}