Go package for rate limiting of functions using a leacky bucket algorithm