Versions in this module Expand all Collapse all v1 v1.4.2 Dec 15, 2023 Changes in this version + func MustNewRedisCaptcha(c Conf, r *redis.Redis) *base64Captcha.Captcha + func NewDriver(c Conf) base64Captcha.Driver + type Conf struct + Driver string + ImgHeight int + ImgWidth int + KeyLong int + type RedisStore struct + Context context.Context + Expiration time.Duration + PreKey string + Redis *redis.Redis + func NewRedisStore(r *redis.Redis) *RedisStore + func (r *RedisStore) Get(key string, clear bool) string + func (r *RedisStore) Set(id string, value string) error + func (r *RedisStore) UseWithCtx(ctx context.Context) base64Captcha.Store + func (r *RedisStore) Verify(id, answer string, clear bool) bool