mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
rename Pipelineable to Pipeliner
This commit is contained in:
4
ring.go
4
ring.go
@ -381,7 +381,7 @@ func (c *Ring) Close() error {
|
||||
return firstErr
|
||||
}
|
||||
|
||||
func (c *Ring) Pipeline() Pipelineable {
|
||||
func (c *Ring) Pipeline() Pipeliner {
|
||||
pipe := Pipeline{
|
||||
exec: c.pipelineExec,
|
||||
}
|
||||
@ -390,7 +390,7 @@ func (c *Ring) Pipeline() Pipelineable {
|
||||
return &pipe
|
||||
}
|
||||
|
||||
func (c *Ring) Pipelined(fn func(Pipelineable) error) ([]Cmder, error) {
|
||||
func (c *Ring) Pipelined(fn func(Pipeliner) error) ([]Cmder, error) {
|
||||
return c.Pipeline().pipelined(fn)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user