25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Remco 7bf499b092 Add ratelimit package 7 년 전
..
examples Add ratelimit package 7 년 전
memory Add ratelimit package 7 년 전
redis Add ratelimit package 7 년 전
.travis.yml Add ratelimit package 7 년 전
LICENSE Add ratelimit package 7 년 전
README.md Add ratelimit package 7 년 전
download.go Add ratelimit package 7 년 전
download_test.go Add ratelimit package 7 년 전
ip.go Add ratelimit package 7 년 전
ratelimit.go Add ratelimit package 7 년 전
request.go Add ratelimit package 7 년 전
request_test.go Add ratelimit package 7 년 전
throttle.go Add ratelimit package 7 년 전
throttle_test.go Add ratelimit package 7 년 전

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.