Versions in this module Expand all Collapse all v0 v0.1.3 Jul 8, 2026 Changes in this version + func Local() local_cache.Cache + func Redis(driver ...string) *redis.Client + func RedisDel(key string) + func RedisHOQGob[T any](key string, queryFunc func() (T, time.Duration, error)) (T, error) + func RedisHOQ[T any](key string, queryFunc func() (data T, exp time.Duration, err error)) (T, error) + func RedisHasOrQuery(key string, queryFunc func() (data string, exp time.Duration)) string + func RedisHasOrQueryByte(key string, queryFunc func() (data []byte, exp time.Duration)) []byte + func RedisHasOrQuerySerializerGob[T any](key string, resultReceiver *T, ...) error + func RedisStrGet(key string) string + func RedisStrSet(key, value string, exp time.Duration) + type Base64CaptchaStore struct + func (b Base64CaptchaStore) Get(id string, clear bool) string + func (b Base64CaptchaStore) Set(id string, value string) error + func (b Base64CaptchaStore) Verify(id string, answer string, clear bool) bool