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

Cleanup context implementation

This commit is contained in:
Vladimir Mihailenco
2018-03-07 13:50:14 +02:00
parent 3a38e90858
commit d6cb688ea7
2 changed files with 10 additions and 7 deletions

View File

@ -592,6 +592,11 @@ func NewClusterClient(opt *ClusterOptions) *ClusterClient {
return c
}
func (c *ClusterClient) copy() *ClusterClient {
cp := *c
return &cp
}
// Options returns read-only Options that were used to create the client.
func (c *ClusterClient) Options() *ClusterOptions {
return c.opt