Documentation ¶
Index ¶
- func Marshal(v interface{}) ([]byte, error)
- func MarshalMulti(v ...interface{}) ([]byte, error)
- func Unmarshal(data []byte, v interface{}) error
- func UnmarshalMulti(data []byte, v ...interface{}) error
- type Entity
- func (e *Entity) DecodeMsgpack(dec *msgpack.Decoder) error
- func (e *Entity) EncodeMsgpack(enc *msgpack.Encoder) error
- func (e *Entity) GetRow(sch sql.Schema) (row sql.Row, err error)
- func (e *Entity) GetValue(name string) (v interface{}, ok bool)
- func (e *Entity) Init()
- func (e *Entity) Marshal() ([]byte, error)
- func (e *Entity) SetRow(sch sql.Schema, row sql.Row)
- func (e *Entity) Unmarshal(data []byte) error
- func (e *Entity) UnmarshalOrInit(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalMulti ¶
func UnmarshalMulti ¶
Types ¶
type Entity ¶
type Entity struct {
// contains filtered or unexported fields
}
func (*Entity) DecodeMsgpack ¶
Implement msgpack.CustomDecoder
func (*Entity) EncodeMsgpack ¶
Implement msgpack.CustomEncoder
func (*Entity) UnmarshalOrInit ¶
Click to show internal directories.
Click to hide internal directories.