blizzard
                                
                                
                                
                                    blizzard copied to clipboard
                            
                            
                            
                        Implement retries and ratelimiting
This PR is a continuation of #38. The codebase has changed a bit since that PR was opened so I decided do make a new one. This PR is somewhat inspired by #38.
I've made some changes to make enabling/configuring the rate limiter / retries simpler. These two features are disabled by default. For the rate limiter I've added a var that contains a configuration that matches Blizzard's rate limits.
It probably needs some documentation in the readme file to make people aware of the features.
Disclaimer: I'm still learning golang :)
Can you add a small example main.go in the examples folder demonstrating your retry?