forked from mirror/redis
19 lines
332 B
Go
19 lines
332 B
Go
// +build !go1.7
|
|
|
|
package redis
|
|
|
|
import (
|
|
"github.com/go-redis/redis/internal/pool"
|
|
)
|
|
|
|
type baseClient struct {
|
|
connPool pool.Pooler
|
|
opt *Options
|
|
|
|
process func(Cmder) error
|
|
processPipeline func([]Cmder) error
|
|
processTxPipeline func([]Cmder) error
|
|
|
|
onClose func() error // hook called when client is closed
|
|
}
|