Documentation ¶
Index ¶
- Constants
- func ACME(key []byte) []byte
- func APIKeyHash(hash []byte) []byte
- func APIKeyName(key []byte) []byte
- func Site(domain []byte) []byte
- func TranslateID(field models.Field, id uint64) []byte
- func TranslateKey(field models.Field, value []byte) []byte
- func TranslateSeq(field models.Field, o []byte) []byte
- type Key
- type Resolution
Constants ¶
View Source
const (
BitmapKeySize = bmContainer + 8
)
Variables ¶
This section is empty.
Functions ¶
func APIKeyHash ¶ added in v1.5.1
func APIKeyName ¶ added in v1.5.1
Types ¶
type Key ¶
type Key [BitmapKeySize]byte
func (*Key) WriteData ¶ added in v1.8.0
func (k *Key) WriteData(res Resolution, field models.Field, view, domainId, co uint64)
func (*Key) WriteExistence ¶ added in v1.8.0
func (k *Key) WriteExistence(res Resolution, field models.Field, view, domainId, co uint64)
type Resolution ¶ added in v1.7.0
type Resolution byte
const ( Global Resolution = iota Minute Hour Day Week Month )
Click to show internal directories.
Click to hide internal directories.