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.
| 52 | // https://redis.io/docs/latest/develop/using-commands/pipelining. |
| 53 | // Please note: it is not safe for concurrent use by multiple goroutines. |
| 54 | type Pipeline struct { |
| 55 | cmdable |
| 56 | statefulCmdable |
| 57 | |
| 58 | exec pipelineExecer |
| 59 | cmds []Cmder |
| 60 | } |
| 61 | |
| 62 | func (c *Pipeline) init() { |
| 63 | c.cmdable = c.Process |
nothing calls this directly
no outgoing calls
no test coverage detected