mpdroog / ratelimit

Golang HTTP Rate Limit middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rate Limit HTTP middleware

GoDoc Widget Travis Widget

Golang package for rate limiting HTTP endpoints based on context and request headers.

Under development

Goals

  • Simple but powerful API
  • Token Bucket algorithm (rate + burst)
  • Storage independent (Redis, In-Memory or any other K/V store)

License

Copyright (c) 2016 Vojtech Vitek

Licensed under the MIT License.

About

Golang HTTP Rate Limit middleware

License:MIT License


Languages

Language:Go 100.0%