Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryDecoder ¶
type BinaryEncoder ¶
type Capability ¶
func DefaultCap ¶
func DefaultCap() Capability
type CustomDecoder ¶
type CustomEncoder ¶
type Decoder ¶
type Decoder interface {
Decode(interface{}) error
}
func NewDecoder ¶
func NewDecoder(c Capability, r io.Reader) Decoder
func NewGobDecoder ¶
func NewJSONDecoder ¶
type Encoder ¶
type Encoder interface {
Encode(interface{}) error
}
func NewEncoder ¶
func NewEncoder(c Capability, w io.Writer) Encoder
func NewGobEncoder ¶
func NewJSONEncoder ¶
Click to show internal directories.
Click to hide internal directories.