Documentation ¶
Overview ¶
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Client *redis.Client // 默认的redis存储 ClientActivationCode *redis.Client // 存储帐号激活码的 ClientAuthEmailCode *redis.Client // 存储邮箱验证码,存储结构 key: 验证码, value: 邮箱 ClientAuthPhoneCode *redis.Client // 存储手机验证码,存储结构 key: 验证码, value: 手机号 ClientResetCode *redis.Client // 存储重置密码的 ClientOAuthCode *redis.Client // 存储 oAuth2 对应的激活码 Config = config.Redis )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.