echo
echo copied to clipboard
Building an in-built retryMax Middleware in Echo
Issue Description
I am building a Project of my own in Echo. And I wanted to make it "Production ready":
- https://github.com/kitarp29/kube-ez/issues/44
But to my surprise this functionality is not in-built in Echo. Express in NodeJS has this in-built! Example:
app.use(retryMax({
maxAttempts: 5,
minTimeout: 1000,
maxTimeout: 5000
}));
For now I am building an implementation of my own. But it would be great if it is a part of this framework! I can work on if it needed!
Checklist:
- [X] Dependencies installed
- [X] No typos
- [X] Searched existing issues and docs
Expected behaviour
NA
Actual behaviour
NA
Steps to reproduce
NA
Working code to debug
NA
package main
func main() {
}
Version/commit
Well any version