Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisStore ¶
type RedisStore struct {
// contains filtered or unexported fields
}
func NewRedisStore ¶
func NewRedisStore(rdc *redis.Client) *RedisStore
func (*RedisStore) Get ¶
func (s *RedisStore) Get(id string, clear bool) string
Get returns stored digits for the captcha id. Clear indicates whether the captcha must be deleted from the store.
func (*RedisStore) Set ¶
func (s *RedisStore) Set(id string, value string)
Set sets the digits for the captcha id.
Click to show internal directories.
Click to hide internal directories.