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

Struct Pipeline

pipeline.go:54–60  ·  view source on GitHub ↗

Pipeline implements pipelining as described in https://redis.io/docs/latest/develop/using-commands/pipelining. Please note: it is not safe for concurrent use by multiple goroutines.

Source from the content-addressed store, hash-verified

52// https://redis.io/docs/latest/develop/using-commands/pipelining.
53// Please note: it is not safe for concurrent use by multiple goroutines.
54type Pipeline struct {
55 cmdable
56 statefulCmdable
57
58 exec pipelineExecer
59 cmds []Cmder
60}
61
62func (c *Pipeline) init() {
63 c.cmdable = c.Process

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected