mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* update go-redis lib from v2 -> v5 * add ssl option to the redis connection string fixes #18498
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
|
|
}
|