Documentation ¶
Index ¶
- type BasicOps
- type BitwiseOps
- type CountOps
- type FieldOps
- type Manager
- func (m *Manager) BitCount(key string, start, end int64) (int64, error)
- func (m *Manager) BitField(key string, commands []models.BitFieldCommand) ([]int64, error)
- func (m *Manager) BitFieldRO(key string, commands []models.BitFieldCommand) ([]int64, error)
- func (m *Manager) BitOp(operation string, destkey string, keys ...string) (int64, error)
- func (m *Manager) BitPos(key string, bit int, start, end int64, reverse bool) (int64, error)
- func (m *Manager) GetBit(key string, offset int64) (int, error)
- func (m *Manager) GetBitmap(key string) []byte
- func (m *Manager) SetBit(key string, offset int64, value int) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicOps ¶
type BasicOps struct {
// contains filtered or unexported fields
}
BasicOps handles basic bitmap operations
func NewBasicOps ¶
NewBasicOps creates a new BasicOps instance
func (*BasicOps) CreateBitmap ¶
CreateBitmap creates a new bitmap of given size
type BitwiseOps ¶
type BitwiseOps struct {
// contains filtered or unexported fields
}
func NewBitwiseOps ¶
func NewBitwiseOps(basicOps *BasicOps) *BitwiseOps
type CountOps ¶
type CountOps struct {
// contains filtered or unexported fields
}
func NewCountOps ¶
type FieldOps ¶
type FieldOps struct {
// contains filtered or unexported fields
}
func NewFieldOps ¶
func (*FieldOps) BitFieldRO ¶
BitFieldRO executes read-only bitfield operations
Click to show internal directories.
Click to hide internal directories.