-
Notifications
You must be signed in to change notification settings - Fork 21
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
Refactoring #8
base: master
Are you sure you want to change the base?
Refactoring #8
Conversation
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.
Nice PR, I was looking for a redis proxy for my project and with this PR I think it will work!
return sentinels, nil | ||
} | ||
|
||
func createSentinel(addr string) (*redis.SentinelClient, error) { |
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.
It's impossible to return an error here, maybe remove the last return argument
"github.com/DivPro/sentinel_tunnel/cmd/config" | ||
"github.com/DivPro/sentinel_tunnel/cmd/resolver" | ||
"github.com/DivPro/sentinel_tunnel/cmd/server" |
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.
Not the right package reference
"github.com/DivPro/sentinel_tunnel/cmd/config" | ||
"github.com/DivPro/sentinel_tunnel/cmd/resolver" |
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.
s/DivPro/RedisLabs
@jmaitrehenry Thank you for feedback, changes will coming soon, |
@DivPro may I suggest to move the main to the root directory? Else, we could have some fun issues if you use the project outside your GOPATH |
@jmaitrehenry wait please for changes, moving main => root approved |
@DivPro did you ever finish your changes? |
features: