Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GobSerializer ¶
type GobSerializer struct{}
var Gob GobSerializer
func (GobSerializer) Deserialize ¶
func (g GobSerializer) Deserialize(b []byte, val interface{}) error
func (GobSerializer) Serialize ¶
func (g GobSerializer) Serialize(val interface{}) ([]byte, error)
type JSONSerializer ¶
type JSONSerializer struct{}
var JSON JSONSerializer
func (JSONSerializer) Deserialize ¶
func (s JSONSerializer) Deserialize(b []byte, val interface{}) error
func (JSONSerializer) Serialize ¶
func (s JSONSerializer) Serialize(val interface{}) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.