Documentation ¶
Index ¶
- type BenchSessVal
- func (z *BenchSessVal) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *BenchSessVal) EncodeMsg(en *msgp.Writer) (err error)
- func (z *BenchSessVal) MarshalMsg(b []byte) (o []byte, err error)
- func (z *BenchSessVal) Msgsize() (s int)
- func (z *BenchSessVal) UnmarshalMsg(bts []byte) (o []byte, err error)
- func (z *BenchSessVal) UnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error)
- type FileSchemaData_generated_go
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchSessVal ¶
type BenchSessVal struct { Expiration int64 `zid:"0"` MaxAge int `zid:"1"` MinRefresh int `zid:"2"` Data []byte `zid:"3"` }
func (*BenchSessVal) DecodeMsg ¶
func (z *BenchSessVal) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable We treat empty fields as if we read a Nil from the wire.
func (*BenchSessVal) EncodeMsg ¶
func (z *BenchSessVal) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*BenchSessVal) MarshalMsg ¶
func (z *BenchSessVal) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*BenchSessVal) Msgsize ¶
func (z *BenchSessVal) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*BenchSessVal) UnmarshalMsg ¶
func (z *BenchSessVal) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
func (*BenchSessVal) UnmarshalMsgWithCfg ¶
func (z *BenchSessVal) UnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error)
type FileSchemaData_generated_go ¶
type FileSchemaData_generated_go struct{}
FileSchemaData_generated_go holds ZebraPack schema from file 'schemaData.go'
func (FileSchemaData_generated_go) ZebraSchemaInJsonCompact ¶
func (FileSchemaData_generated_go) ZebraSchemaInJsonCompact() []byte
ZebraSchemaInJsonCompact provides the ZebraPack Schema in compact JSON format, length 800 bytes
func (FileSchemaData_generated_go) ZebraSchemaInJsonPretty ¶
func (FileSchemaData_generated_go) ZebraSchemaInJsonPretty() []byte
ZebraSchemaInJsonPretty provides the ZebraPack Schema in pretty JSON format, length 1940 bytes
func (FileSchemaData_generated_go) ZebraSchemaInMsgpack2Format ¶
func (FileSchemaData_generated_go) ZebraSchemaInMsgpack2Format() []byte
ZebraSchemaInMsgpack2Format provides the ZebraPack Schema in msgpack2 format, length 634 bytes