Rewrite rate limiter.
Merge pull request #42 from go-redis/fix/rewrite_rate_limiter

Rewrite rate limiter.