Library has vast amount of different built throttler conditions, among which are:
- leaky-bucket
- latency threshold
- metrics
- etc.
Library allows to easily combine them into more complex throttling pipelines and also ships tools to easily integrate it into existing infrastructure, for e.g. gohalt provides the way to bind throttler tocontext
. As it stated library also has number of integrations with popular Go libraries: gin, http, echo, iris, grpc, go-micro, and many more.
Check it out https://github.com/1pkg/gohalt