An open API service indexing awesome lists of open source software.

https://github.com/felixseptem/ratelimit

a simple implement of web ratelimit by Golang.
https://github.com/felixseptem/ratelimit

golang rate-limits web

Last synced: about 1 year ago
JSON representation

a simple implement of web ratelimit by Golang.

Awesome Lists containing this project

README

          

# a simple implement of ratelimit
inspired by [token bucket](https://en.wikipedia.org/wiki/Token_bucket)

[![Build Status](https://www.travis-ci.org/FelixSeptem/ratelimit.svg?branch=master)](https://www.travis-ci.org/FelixSeptem/ratelimit)
[![Coverage Status](https://coveralls.io/repos/github/FelixSeptem/ratelimit/badge.svg?branch=master)](https://coveralls.io/github/FelixSeptem/ratelimit?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/FelixSeptem/ratelimit)](https://goreportcard.com/report/github.com/FelixSeptem/ratelimit)
[![GoDoc](http://godoc.org/github.com/FelixSeptem/ratelimit?status.svg)](http://godoc.org/github.com/FelixSeptem/ratelimit)
[![GolangCI](https://golangci.com/badges/github.com/FelixSeptem/ratelimit.svg)](https://golangci.com/r/github.com/FelixSeptem/ratelimit)

### Install
```go
go get -u github.com/FelixSeptem/ratelimit
```

### Use Example
[example](https://github.com/FelixSeptem/ratelimit/blob/master/example/example.go)