Documentation ¶
Index ¶
- func SetZiplistMaxSize(n int)
- type Bitmap
- func (b *Bitmap) Add(items ...uint32) (n int)
- func (b *Bitmap) And(b2 *Bitmap) *Bitmap
- func (b *Bitmap) Clone() *Bitmap
- func (b *Bitmap) Flip(start, end uint64)
- func (b *Bitmap) Len() uint64
- func (b *Bitmap) MarshalBinary() ([]byte, error)
- func (b *Bitmap) Or(b2 *Bitmap) *Bitmap
- func (b *Bitmap) Remove(items ...uint32) (n int)
- func (b *Bitmap) Test(i uint32) bool
- func (b *Bitmap) ToArray() []uint32
- func (b *Bitmap) UnmarshalBinary(data []byte) error
- func (b *Bitmap) Xor(b2 *Bitmap) *Bitmap
- type List
- type Map
- type Ordered
- type Set
- type SyncMap
- func (m *SyncMap) Get(key string) ([]byte, bool)
- func (m *SyncMap) Keys() (keys []string)
- func (m *SyncMap) Len() (n int)
- func (m *SyncMap) MarshalJSON() ([]byte, error)
- func (m *SyncMap) Remove(key string) bool
- func (m *SyncMap) Set(key string, val []byte)
- func (m *SyncMap) UnmarshalJSON(src []byte) error
- type ZSet
- func (z *ZSet[K, S]) Delete(key K) (s S, ok bool)
- func (z *ZSet[K, S]) Get(key K) (S, bool)
- func (z *ZSet[K, S]) Incr(key K, incr S) S
- func (z *ZSet[K, S]) Iter(f func(k K, s S) bool)
- func (z *ZSet[K, S]) Len() int
- func (z *ZSet[K, S]) MarshalJSON() ([]byte, error)
- func (z *ZSet[K, S]) Set(key K, score S)
- func (z *ZSet[K, S]) UnmarshalJSON(src []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetZiplistMaxSize ¶ added in v1.9.0
func SetZiplistMaxSize(n int)
Types ¶
type Bitmap ¶ added in v1.4.0
Bitmap
func (*Bitmap) MarshalBinary ¶ added in v1.4.0
MarshalBinary
func (*Bitmap) UnmarshalBinary ¶ added in v1.4.0
UnmarshalBinary
type Ordered ¶ added in v1.7.3
type Ordered constraints.Ordered
type ZSet ¶
ZSet
func (*ZSet[K, S]) MarshalJSON ¶ added in v1.2.0
MarshalJSON
func (*ZSet[K, S]) UnmarshalJSON ¶ added in v1.2.0
UnmarshalJSON
Click to show internal directories.
Click to hide internal directories.