Documentation ¶
Index ¶
- func NewRedisClusterStore(opts *redis.ClusterOptions, expiration time.Duration, out Logger, ...) captcha.Store
- func NewRedisClusterStoreWithCli(cli *redis.ClusterClient, expiration time.Duration, out Logger, ...) captcha.Store
- func NewRedisStore(opts *redis.Options, expiration time.Duration, out Logger, prefix ...string) captcha.Store
- func NewRedisStoreWithCli(cli *redis.Client, expiration time.Duration, out Logger, prefix ...string) captcha.Store
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedisClusterStore ¶
func NewRedisClusterStore(opts *redis.ClusterOptions, expiration time.Duration, out Logger, prefix ...string) captcha.Store
NewRedisClusterStore create an instance of a redis cluster store
func NewRedisClusterStoreWithCli ¶
func NewRedisClusterStoreWithCli(cli *redis.ClusterClient, expiration time.Duration, out Logger, prefix ...string) captcha.Store
NewRedisClusterStoreWithCli create an instance of a redis cluster store
Types ¶
Click to show internal directories.
Click to hide internal directories.