Skip to content

Commit fae36fd

Browse files
committed
improve functionality
- add DefaultRedis wrapper - fix middleware nil pointer - upd linter - upd pipeline - upd docs
1 parent 7d77436 commit fae36fd

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/go.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
branches:
55
- main
6+
tags:
7+
- "*"
68
pull_request:
79
branches:
810
- main

README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# go-ratelimiter
22

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

612
# Install
@@ -116,15 +122,15 @@ func main() {
116122
# TODO
117123

118124
* ~add http middleware~
119-
* ~add simple redis datastore~
120-
* extend Store methods
125+
* ~add redis datastore~
126+
* improve unit coverage
121127
* improve redis datastore
122-
* try using tarantool datastore
123-
* try using aerospike datastore
128+
* add tarantool datastore
129+
* add aerospike datastore
124130

125131
## Contributing
126132

127133

128134
## License
129135

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

0 commit comments

Comments
 (0)