Documentation ¶
Overview ¶
Package gobs implements the Encoder and Decoders for use with the gop format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultGOBSEncoder provides a package-level json encoder for use. DefaultGOBSEncoder GOBSEncoder // DefaultGOBSTargetDecoder provides a package-level json target decoder for use. DefaultGOBSTargetDecoder GOBSUnmarshalDecoder )
Functions ¶
This section is empty.
Types ¶
type GOBSEncoder ¶
type GOBSEncoder struct{}
GOBSEncoder implements a wrapper over the encoding/json GOBSEncoder to match the Encoder interface. This allow us use GOBS has a encoder for any method encoding as needed.
type GOBSUnmarshalDecoder ¶
type GOBSUnmarshalDecoder struct{}
GOBSUnmarshalDecoder implements a wrapper over the encoding/json GOBSEncoder to all incoming data into a interface{} type.
Click to show internal directories.
Click to hide internal directories.