Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Captcha ¶
type Captcha struct {
Base64Captcha *base64Captcha.Captcha
}
func (*Captcha) GenerateCaptcha ¶
GenerateCaptcha 生成图片验证码
type RedisStore ¶
type RedisStore struct {
RedisClient *redis.RedisClient
KeyPrefix string
}
RedisStore 实现 base64Captcha.Store interface
func (*RedisStore) Get ¶
func (s *RedisStore) Get(key string, clear bool) string
Get 实现 base64Captcha.Store interface 的 Get 方法
Click to show internal directories.
Click to hide internal directories.