Documentation ¶
Index ¶
Constants ¶
View Source
const ChainNilOutput string = "The chain returned nil"
View Source
const ChainSingleMarshalerError string = "A chain requires two or more Marshalers."
View Source
const MarshalerNilTypeError string = "Marshaler can't handle a nil value."
View Source
const MarshalerTypeNotSupportedError string = "Marshaler doesn't support the type you're using:"
View Source
const MarshalerUnexpectedOutput string = "Unexpected Marshaler output"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrotliMarshaler ¶
type BrotliMarshaler struct { }
func (BrotliMarshaler) Marshal ¶
func (marshaler BrotliMarshaler) Marshal(i *interface{}) (interface{}, error)
func (BrotliMarshaler) Unmarshal ¶
func (marshaler BrotliMarshaler) Unmarshal(i *interface{}) (interface{}, error)
type Chain ¶
type DummyMarshaler ¶
type DummyMarshaler struct { }
func (DummyMarshaler) Marshal ¶
func (marshaler DummyMarshaler) Marshal(i *interface{}) (interface{}, error)
func (DummyMarshaler) Unmarshal ¶
func (marshaler DummyMarshaler) Unmarshal(i *interface{}) (interface{}, error)
type ProtobufMarshaler ¶
type ProtobufMarshaler struct { }
func (ProtobufMarshaler) Marshal ¶
func (marshaler ProtobufMarshaler) Marshal(i *interface{}) (interface{}, error)
func (ProtobufMarshaler) Unmarshal ¶
func (marshaler ProtobufMarshaler) Unmarshal(i *interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.