Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
Client *redis.Client
}
Adapter is a go-redis implementation compatible with github.com/aidenwallis/go-ratelimiting/redis/adapters
func NewAdapter ¶
func NewAdapter(client *redis.Client) *Adapter
NewAdapter creates a new adapter using the go-redis client.
Click to show internal directories.
Click to hide internal directories.