Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedisStore ¶
func NewRedisStore(cli redis.Cmdable, expiration time.Duration, prefix ...string) base64Captcha.Store
NewRedisStoreWithCli create an instance of a redis store
Types ¶
type Logger ¶
type Logger interface {
Printf(format string, args ...interface{})
}
Logger Define the log output interface
type RedisStore ¶
type RedisStore struct {
// contains filtered or unexported fields
}
func (*RedisStore) Set ¶
func (rs *RedisStore) Set(id string, value string)
Click to show internal directories.
Click to hide internal directories.