1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Update changelog

This commit is contained in:
Vladimir Mihailenco
2019-05-31 17:37:34 +03:00
parent 84422d7ae7
commit 43fdab312a
2 changed files with 8 additions and 4 deletions

View File

@ -103,15 +103,14 @@ func NewFailoverClient(failoverOpt *FailoverOptions) *Client {
//------------------------------------------------------------------------------
type SentinelClient struct {
baseClient
*baseClient
ctx context.Context
}
func NewSentinelClient(opt *Options) *SentinelClient {
opt.init()
c := &SentinelClient{
baseClient: baseClient{
baseClient: &baseClient{
opt: opt,
connPool: newConnPool(opt),
},