Documentation ¶
Index ¶
- Constants
- func Bitmap(ts, shard uint64, field models.Field, index byte, buf []byte) []byte
- type Encoding
- func (e *Encoding) APIKeyHash(hash []byte) []byte
- func (e *Encoding) APIKeyName(key []byte) []byte
- func (e *Encoding) Allocate(n int) []byte
- func (e *Encoding) Bitmap(ts, shard uint64, field models.Field, index byte) []byte
- func (e *Encoding) Grow(n int)
- func (e *Encoding) Reset()
- func (e *Encoding) Site(domain []byte) []byte
- func (e *Encoding) TranslateID(field models.Field, id uint64) []byte
- func (e *Encoding) TranslateKey(field models.Field, value []byte) []byte
- func (e *Encoding) TranslateSeq(field models.Field) []byte
- type Key
- type ShardKey
Constants ¶
View Source
const BitmapKeySize = 1 + 8 + 8 + 1 + 1 // index
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Encoding ¶ added in v1.3.0
type Encoding struct {
// contains filtered or unexported fields
}
func (*Encoding) APIKeyHash ¶ added in v1.3.0
func (*Encoding) APIKeyName ¶ added in v1.3.0
func (*Encoding) TranslateID ¶ added in v1.3.0
func (*Encoding) TranslateKey ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.