We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
all of them and behavior if any of them is down and track if we have retry mechanism and alternative backends or not
The text was updated successfully, but these errors were encountered:
other than documenting, the other way is to let the code speak for itself in easy way. A quick idea
create external services package, lets say the name is extsrv.
extsrv
// mention the name and URLs there var Services = map[string]ExtService { "a" : {"Url: "http://a.com", Retry: true}, "b" : {Url: "http://b.com", Retry: false}, } // Retry Wrapper func RetryWrapper(s ExtService, f func(...)) { if !s.Retry { f() } // Call Retry func here }
The other way is to simply list the URL in that package, and document there.
Sorry, something went wrong.
No branches or pull requests
all of them and behavior if any of them is down and track if we have retry mechanism and alternative backends or not
The text was updated successfully, but these errors were encountered: