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

Method Incr

string_commands.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

20 GetDel(ctx context.Context, key string) *StringCmd
21 GetToBuffer(ctx context.Context, key string, buf []byte) *ZeroCopyStringCmd
22 Incr(ctx context.Context, key string) *IntCmd
23 IncrBy(ctx context.Context, key string, value int64) *IntCmd
24 IncrByFloat(ctx context.Context, key string, value float64) *FloatCmd
25 IncrEXInt(ctx context.Context, key string, args IncrEXIntArgs) *IncrEXIntCmd

Callers 15

tx_unwatch_test.goFile · 0.65
ring_test.goFile · 0.65
commands_test.goFile · 0.65
ExampleClient_IncrFunction · 0.65
ExampleClient_PipelinedFunction · 0.65
ExampleClient_PipelineFunction · 0.65
ExampleClient_TxPipelineFunction · 0.65
race_test.goFile · 0.65
tx_test.goFile · 0.65
mainFunction · 0.65
floodThePoolFunction · 0.65

Calls

no outgoing calls

Tested by 7

ExampleClient_IncrFunction · 0.52
ExampleClient_PipelinedFunction · 0.52
ExampleClient_PipelineFunction · 0.52
ExampleClient_TxPipelineFunction · 0.52
ExampleClient_cmd_incrFunction · 0.52
ExampleClient_incrFunction · 0.52