# Functions
BackupBoltDB 备份数据库文件.
ClearPassword 清除验证密码.
CronClearAuthPassword 定时清除验证密码.
CronGenAuthPassword 定时生成验证密码.
GenPassword 生成验证密码.
GetLogger 返回Logger.
GetVersion 获取版本信息.
GetWiillAuthPassword 获取生成的密码.
InitCli 初始化命令行参数.
InitLog 初始化日志.
ManualGenAuthPassword 手动生成验证密码.
NewManagePassword 返回对象.
NewQueryIP IP对象.
NewToken 返回Token对象.
NewTwoStepAuth 返回TwoStepAuth对象.
No description provided by the author
SendByDingTalkRobot 通过钉钉发送消息通知.
SendByEmail 通过Email发送消息通知.
SendWeixinMessage 发送消息.
# Constants
TwoStepAuthDigits 验证码的位数.
# Variables
AppDescription 程序描述.
AppName 程序名称.
AppVersion 程序版本号.
Author 作者.
BuildDate 编译日期.
CommitHash git commit id.
DBPath 数据库文件路径.
EnableToken 读取是否启用 Token 认证配置.
GitHub 地址.
GoVersion Go版本.
Logger 日志对象.
LogPathFromCli 从命令行传入日志路径.
QrImageDir 二维码图片目录.
UploadPath 上传目录.
WillAuthPassword 定时生成的密码.
# Structs
HoliWorkday 节假日和工作日.
JSONManPassFields 通过POST传递过来的json字符串结构.
ManagePassword 密码管理.
QueryIP IP查询.
ReqHoliday 请求过来的节假日和工作日设置.
Token 结构体.
TwoStepAuth 2步验证.