Skip to content

Commit

Permalink
improve functionality
Browse files Browse the repository at this point in the history
- add DefaultRedis wrapper
- fix middleware nil pointer
- upd linter
- upd pipeline
- upd docs
  • Loading branch information
robotomize committed May 6, 2022
1 parent 7d77436 commit fae36fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
tags:
- "*"
pull_request:
branches:
- main
Expand Down
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# go-ratelimiter

A super easy rate limiting package for Go. Package defines Store storage interface, for which you can use your own
[![Go Report](https://goreportcard.com/badge/github.com/robotomize/go-ratelimiter)](https://goreportcard.com/report/github.com/robotomize/gokuu)
[![codebeat badge](https://codebeat.co/badges/a4a12b24-98e6-4627-b01c-8b124561f2e1)](https://codebeat.co/projects/github-com-robotomize-go-ratelimiter-main)
[![codecov](https://codecov.io/gh/robotomize/go-ratelimiter/branch/main/graph/badge.svg)](https://codecov.io/gh/robotomize/go-ratelimiter)
[![Build status](https://github.com/robotomize/go-ratelimiter/actions/workflows/go.yml/badge.svg)](https://github.com/robotomize/go-ratelimiter/actions)
[![GitHub license](https://img.shields.io/github/license/robotomize/go-ratelimiter.svg)](https://github.com/robotomize/go-ratelimiter/blob/master/LICENSE)

A super easy rate limiting package for Go. Package provide Store interface, for which you can use your own
implementations

# Install
Expand Down Expand Up @@ -116,15 +122,15 @@ func main() {
# TODO

* ~add http middleware~
* ~add simple redis datastore~
* extend Store methods
* ~add redis datastore~
* improve unit coverage
* improve redis datastore
* try using tarantool datastore
* try using aerospike datastore
* add tarantool datastore
* add aerospike datastore

## Contributing


## License

go-ratelimiter is under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.
go-ratelimiter is under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.

0 comments on commit fae36fd

Please sign in to comment.