forked from mirror/redis
16 lines
235 B
Go
16 lines
235 B
Go
|
// +build !go1.7
|
||
|
|
||
|
package redis
|
||
|
|
||
|
import (
|
||
|
"gopkg.in/redis.v5/internal/pool"
|
||
|
)
|
||
|
|
||
|
type baseClient struct {
|
||
|
connPool pool.Pooler
|
||
|
opt *Options
|
||
|
|
||
|
process func(Cmder) error
|
||
|
onClose func() error // hook called when client is closed
|
||
|
}
|