github.com/kataras/chronos (go): Package chronos provides an easy way to limit X operations per Y time in accuracy of nanoseconds. Chronos is a crucial tool when calling external, remote or even internal APIs with rate limits.  The only requirement is the Go Programming Language.  Chronos has no any other dependencies except the standard library.  Chronos is very simple to use tool, you just declare the maximum operations(max) and in every Y time that those operations are allowed to be executed(per). Chronos has the accuracy of nanoseconds.  The Acquire is blocking when needed, no any further actions neeeded by the end-developer.  Using the ext/http subpackage  This package is just a helper which extends the usability of the `chronos.C.Acquire` functionality. It allows easy and fast calls to external APIs with limits.  Example Code:
Keywords: go|golang|rate-limits|time