Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
Remco 7bf499b092 Add ratelimit package pirms 7 gadiem
..
examples Add ratelimit package pirms 7 gadiem
memory Add ratelimit package pirms 7 gadiem
redis Add ratelimit package pirms 7 gadiem
.travis.yml Add ratelimit package pirms 7 gadiem
LICENSE Add ratelimit package pirms 7 gadiem
README.md Add ratelimit package pirms 7 gadiem
download.go Add ratelimit package pirms 7 gadiem
download_test.go Add ratelimit package pirms 7 gadiem
ip.go Add ratelimit package pirms 7 gadiem
ratelimit.go Add ratelimit package pirms 7 gadiem
request.go Add ratelimit package pirms 7 gadiem
request_test.go Add ratelimit package pirms 7 gadiem
throttle.go Add ratelimit package pirms 7 gadiem
throttle_test.go Add ratelimit package pirms 7 gadiem

README.md

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.