You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 7 година
12345678910111213141516171819202122
  1. # Rate Limit HTTP middleware
  2. [![GoDoc Widget]][GoDoc] [![Travis Widget]][Travis]
  3. [Golang](http://golang.org/) package for rate limiting HTTP endpoints based on context and request headers.
  4. [GoDoc]: https://godoc.org/github.com/VojtechVitek/ratelimit
  5. [GoDoc Widget]: https://godoc.org/github.com/VojtechVitek/ratelimit?status.svg
  6. [Travis]: https://travis-ci.org/VojtechVitek/ratelimit
  7. [Travis Widget]: https://travis-ci.org/VojtechVitek/ratelimit.svg?branch=master
  8. # Under development
  9. # Goals
  10. - Simple but powerful API
  11. - Token Bucket algorithm (rate + burst)
  12. - Storage independent (Redis, In-Memory or any other K/V store)
  13. # License
  14. Copyright (c) 2016 Vojtech Vitek
  15. Licensed under the [MIT License](./LICENSE).