mirror of
https://github.com/redis/go-redis.git
synced 2025-04-16 09:23:06 +03:00
Adding BitfieldRo in BitMapCmdable interface (#2962)
Co-authored-by: Monkey <golang@88.com>
This commit is contained in:
parent
9f1522a91e
commit
90c7a414ac
@ -16,6 +16,7 @@ type BitMapCmdable interface {
|
||||
BitPos(ctx context.Context, key string, bit int64, pos ...int64) *IntCmd
|
||||
BitPosSpan(ctx context.Context, key string, bit int8, start, end int64, span string) *IntCmd
|
||||
BitField(ctx context.Context, key string, values ...interface{}) *IntSliceCmd
|
||||
BitFieldRO(ctx context.Context, key string, values ...interface{}) *IntSliceCmd
|
||||
}
|
||||
|
||||
func (c cmdable) GetBit(ctx context.Context, key string, offset int64) *IntCmd {
|
||||
|
Loading…
x
Reference in New Issue
Block a user