ulule / limiter

Dead simple rate limit middleware for Go.
MIT License
2.06k stars 147 forks source link

Add ruedis support #247

Closed rusdevops closed 4 months ago

rusdevops commented 4 months ago

go ruedis has go-redis-like-api-adapter

currently, a compilation error occurs when trying to use the adapter

  1. need to change signatures of Client interface
    • StringCmd
    • StatusCmd
    • BoolCmd
    • IntCmd
    • Cmd

for example add corresponding interfaces StringCmd, ...

  1. or add new driver ruedis
thoas commented 4 months ago

Hi, we don't provide additional features than what we need internally, so if you want a particular driver go send a PR, we will review it.

rusdevops commented 4 months ago

Create PR: https://github.com/ulule/limiter/pull/248