Removes all of the superfluous logging and returns errors instead. Also changes how the retry logic works -- instead of a config string, adds a MaxRetries in the Config struct, if it's set to above 0 it will try that many times before returning an error.
cc @alaska and @mvdan -- this is a breaking API change, but I think it's worth it in the long run.
Addresses #11
Removes all of the superfluous logging and returns errors instead. Also changes how the retry logic works -- instead of a config string, adds a
MaxRetries
in theConfig
struct, if it's set to above 0 it will try that many times before returning an error.cc @alaska and @mvdan -- this is a breaking API change, but I think it's worth it in the long run.