Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonMarshaler ¶
type JsonMarshaler struct { }
func (*JsonMarshaler) Marshal ¶
func (m *JsonMarshaler) Marshal(v interface{}) ([]byte, error)
func (*JsonMarshaler) String ¶
func (m *JsonMarshaler) String() string
type Marshaler ¶
type Marshaler interface { Marshal(interface{}) ([]byte, error) Unmarshal([]byte, reflect.Type) (interface{}, error) String() string }
Marshaler is a simple encoding interface used for the broker/transport where headers are not supported by the underlying implementation.
type ProtoBufMarshaler ¶
type ProtoBufMarshaler struct { }
func (*ProtoBufMarshaler) Marshal ¶
func (m *ProtoBufMarshaler) Marshal(v interface{}) ([]byte, error)
func (*ProtoBufMarshaler) String ¶
func (m *ProtoBufMarshaler) String() string
Click to show internal directories.
Click to hide internal directories.