Versions in this module Expand all Collapse all v0 v0.5.0 Jan 12, 2019 Changes in this version + var Gob = GobCodec + var JSON = JSONcodec + type Codec interface + Marshal func(v interface{}) ([]byte, error) + Unmarshal func(data []byte, v interface{}) error + type GobCodec struct + func (c GobCodec) Marshal(v interface{}) ([]byte, error) + func (c GobCodec) Unmarshal(data []byte, v interface{}) error + type JSONcodec struct + func (c JSONcodec) Marshal(v interface{}) ([]byte, error) + func (c JSONcodec) Unmarshal(data []byte, v interface{}) error