Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encode ¶
type JsonEncoder ¶
type JsonEncoder struct { }
func (*JsonEncoder) Marshal ¶
func (x *JsonEncoder) Marshal(message interface{}) ([]byte, error)
func (*JsonEncoder) Unmarshal ¶
func (x *JsonEncoder) Unmarshal(buf []byte, obj interface{}) error
type ProtoBufBase64Encoder ¶
type ProtoBufBase64Encoder struct { }
func (*ProtoBufBase64Encoder) Marshal ¶
func (x *ProtoBufBase64Encoder) Marshal(message interface{}) ([]byte, error)
func (*ProtoBufBase64Encoder) Unmarshal ¶
func (x *ProtoBufBase64Encoder) Unmarshal(buf []byte, obj interface{}) error
type ProtoBufEncoder ¶
type ProtoBufEncoder struct { }
func (*ProtoBufEncoder) Marshal ¶
func (x *ProtoBufEncoder) Marshal(message interface{}) ([]byte, error)
func (*ProtoBufEncoder) Unmarshal ¶
func (x *ProtoBufEncoder) Unmarshal(buf []byte, obj interface{}) error
Click to show internal directories.
Click to hide internal directories.