Leaky bucket implementation in Go with support for different backends (redis, in-memory)