-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support redis DialOption #132
base: master
Are you sure you want to change the base?
Conversation
Kudos, SonarCloud Quality Gate passed! |
Kudos, SonarCloud Quality Gate passed! |
} | ||
|
||
func NewMultiHostPool(hosts []string) *MultiHostPool { | ||
func NewMultiHostPool(hosts []string, options ...redis.DialOption) *MultiHostPool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported function NewMultiHostPool should have comment or be unexported
@@ -17,9 +18,9 @@ type SingleHostPool struct { | |||
*redis.Pool | |||
} | |||
|
|||
func NewSingleHostPool(host string) *SingleHostPool { | |||
func NewSingleHostPool(host string, options ...redis.DialOption) *SingleHostPool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported function NewSingleHostPool should have comment or be unexported
Kudos, SonarCloud Quality Gate passed! |
No description provided.