MCPcopy
hub / github.com/redis/go-redis / SetBit

Method SetBit

bitmap_commands.go:10–10  ·  view source on GitHub ↗
(ctx context.Context, key string, offset int64, value int)

Source from the content-addressed store, hash-verified

8type BitMapCmdable interface {
9 GetBit(ctx context.Context, key string, offset int64) *IntCmd
10 SetBit(ctx context.Context, key string, offset int64, value int) *IntCmd
11 BitCount(ctx context.Context, key string, bitCount *BitCount) *IntCmd
12 BitOpAnd(ctx context.Context, destKey string, keys ...string) *IntCmd
13 BitOpOr(ctx context.Context, destKey string, keys ...string) *IntCmd

Callers 4

commands_test.goFile · 0.65
ExampleClient_pingFunction · 0.65
ExampleClient_bitcountFunction · 0.65

Calls

no outgoing calls

Tested by 2

ExampleClient_pingFunction · 0.52
ExampleClient_bitcountFunction · 0.52