GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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 load configuration from a toml file, and override by arguments.
And refactored main.go.
config: add config file support.
*: add license and fix golint
Merge branch 'master' into coocood/config
@shenli @zimulala @tiancaiamao PTAL
Is this function called anywhere?
in readOptionalSSLRequestAndHandshakeResponse method
I suggest register store in func init(), some tests may not call main() but they need mocktikv.
init in which package?
This is actually a pointer to gloablConfig?
srv.Run() will not return, so it won't get to xsvr.Run() normally...
Yes, but it's the same as before, we not going to handle this issue in this PR.
thx, @jackysp have fix it, will be merged with branch xwt/x-protocol
*: address comment
*: remove unfrequently used arguments
*: add back a used argument.
*: add back statsLease