Documentation
¶
Index ¶
- type Field
- type Generic
- type Registry
- type Slice
- func (s *Slice) BatchSize() int
- func (s *Slice) DecodeBinary(stream *bintly.Reader) error
- func (s *Slice) EncodeBinary(stream *bintly.Writer) error
- func (s *Slice) Hash() int
- func (s *Slice) IsNil() bool
- func (s *Slice) Iterator() common.Iterator
- func (s *Slice) MarshalJSON() ([]byte, error)
- func (s *Slice) MarshalJSONObject(enc *gojay.Encoder)
- func (s *Slice) NKeys() int
- func (s *Slice) Set(iter common.Iterator) error
- func (s *Slice) SetBatchSize(size int)
- func (s *Slice) SetHash(hash int)
- func (s *Slice) UnmarshalJSONObject(dec *gojay.Decoder, key string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generic ¶
type Generic struct {
Value interface{}
}
Generic represents generic storable
func NewGeneric ¶
func NewGeneric(value interface{}) *Generic
NewGeneric creates a Generic storable (for struct/map)
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry represents storable registry
type Slice ¶
type Slice struct { Values []interface{} Fields []*Field // contains filtered or unexported fields }
Slice represents slice registry
func (*Slice) DecodeBinary ¶
DecodeBinary bintly decoder
func (*Slice) EncodeBinary ¶
EncodeBinary bintly encoder
func (*Slice) MarshalJSON ¶
MarshalJSON default json marshaler
func (*Slice) MarshalJSONObject ¶
MarshalJSONObject implement MarshalerJSONObject
func (*Slice) SetBatchSize ¶ added in v0.1.3
SetHash sets hash
Click to show internal directories.
Click to hide internal directories.