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

Method Exec

pipeline.go:43–43  ·  view source on GitHub ↗

Exec sends all the commands buffered in the pipeline to the redis server.

(ctx context.Context)

Source from the content-addressed store, hash-verified

41
42 // Exec sends all the commands buffered in the pipeline to the redis server.
43 Exec(ctx context.Context) ([]Cmder, error)
44
45 // Cmds returns the list of queued commands.
46 Cmds() []Cmder

Callers 15

pipeline_test.goFile · 0.65
initConnMethod · 0.65
ring_test.goFile · 0.65
iterator_test.goFile · 0.65
processMethod · 0.65
commands_test.goFile · 0.65
osscluster_test.goFile · 0.65
ExampleClient_PipelineFunction · 0.65
ExampleClient_TxPipelineFunction · 0.65
benchmarkHSETPipelinedFunction · 0.65
tls_test.goFile · 0.65

Implementers 1

Pipelinepipeline.go

Calls

no outgoing calls

Tested by 4

ExampleClient_PipelineFunction · 0.52
ExampleClient_TxPipelineFunction · 0.52
benchmarkHSETPipelinedFunction · 0.52