Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BsonEncoder ¶
type BsonEncoder struct{}
BsonEncoder is a BSON Encoder implementation for EncodedConn. This encoder will use the mongo bson encoder to Marshal and Unmarshal most types, including structs.
func (*BsonEncoder) Decode ¶
func (be *BsonEncoder) Decode(data []byte, vPtr interface{}) (err error)
Decode
type JsonEncoder ¶
type JsonEncoder struct{}
JsonEncoder is a JSON Encoder implementation for EncodedConn. This encoder will use the builtin encoding/json to Marshal and Unmarshal most types, including structs.
func (*JsonEncoder) Decode ¶
func (je *JsonEncoder) Decode(data []byte, vPtr interface{}) (err error)
Decode
Click to show internal directories.
Click to hide internal directories.