# Functions
BatchAdd 批量添加(常用于批量添加分类) BatchAdd(ctx, `ident,>name`, adder, before, `=`) 可以通过在字段名称前面添加“>”前缀来指定表单字段名称,如果不指定则默认使用第一个作为表单字段名.
CaptchaInfo 新验证码信息.
ClearHTML 清除所有HTML标签及其属性,一般用处理文章标题等不含HTML标签的字符串.
No description provided by the author
No description provided by the author
Decrypt 数据解密.
DecryptedByRandomSecret 用上次设置的随机密码解密.
DeleteRandomSecret 删除随机密码.
DirSharding 文件夹分组(暂不使用).
Encrypt 数据加密.
Err 获取错误信息.
GenSecret 生成随机密钥.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTMLFilter 构建自定义的HTML标签过滤器.
HTTPStatusColor HTTP状态码相应颜色.
IsCaptchaErrCode 是否验证码错误码.
IsCaptchaError 用户验证码错误.
IsError 是否是错误信息.
IsMessage 判断err是否为Message.
IsOk 是否是成功信息.
IsRightUploadFile 是否是正确的上传文件.
IsUserDisabled 用户是否被禁用.
IsUserNoPerm 用户是否没有操作权限.
IsUserNotFound 用户是否不存在.
IsUserNotLoggedIn 用户是否未登录.
LogShow 获取日志内容用于显示.
No description provided by the author
No description provided by the author
No description provided by the author
Message 获取err中的信息接口.
ModifyAsThumbnailName 将指向临时文件夹的缩略图路径改为新位置上的缩略图路径 originName 为新位置上的原始图路径 thumbnailName 为临时位置上的缩略图路径.
MoveAvatarToUserDir 移动临时文件夹中的头像到用户目录.
MoveEmbedTemporaryFiles 转移被嵌入到文本内容中临时文件.
MoveUploadedFileToOwnerDir 移动上传的文件到所有者目录.
MoveUploadedFileToOwnerDirCommon 移动上传的文件到所有者目录.
No description provided by the author
No description provided by the author
No description provided by the author
NewOk 创建成功信息.
NewSonyflake 19位.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Ok 操作成功.
OkString 获取成功信息.
No description provided by the author
ReadCache 读缓存文件.
RemoveAvatar 删除头像.
No description provided by the author
RemoveCache 删除缓存文件.
No description provided by the author
RemoveUploadedFile 删除被上传的文件.
RemoveXSS 清除不安全的HTML标签和属性,一般用于处理文章内容.
ReplacePrefix 替换前缀数据.
Replacex 根据map替换.
No description provided by the author
SendErr 记录错误信息 (SendFail的别名).
SendFail 记录失败信息.
SendOk 记录成功信息.
SetRandomSecret 设置随机密码.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidFileOwnerID 验证文件宿主ID.
VerifyAndSetCaptcha 验证码验证并设置新验证码信息.
VerifyCaptcha 验证码验证.
No description provided by the author
No description provided by the author
WriteCache 写缓存文件.
# Constants
DirShardingNum 文件夹分组基数.
# Variables
DefaultNopMessage 默认空消息.
No description provided by the author
ErrBalanceNoEnough 余额不足.
ErrCaptcha 验证码错误.
ErrIgnoreConfigChange 忽略配置文件更改.
ErrIncorrectFileOwnerID .
ErrNext 需要继续向下检查.
ErrOperationFail 操作失败.
ErrOperationTimeout 操作超时.
ErrRepeatOperation 重复操作.
ErrRequestFail 提交失败.
ErrRequestTimeout 提交超时.
ErrResponseFormatError 响应格式错误.
ErrUnsupported 不支持.
ErrUserDisabled 用户已被禁用.
ErrUserNoPerm 用户无权限.
ErrUserNotFound 用户不存在.
ErrUserNotLoggedIn 用户未登录.
LogParsers 日志格式解析器.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OnRemoveOwnerFile 当删除文件时的通用操作.
OnUpdateOwnerFilePath 当更新文件路径时的通用操作.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Sorts 获取数据查询时的排序方式.
# Interfaces
Adder interface.
No description provided by the author
Messager 信息接口.
Successor 成功信息接口.
# Type aliases
Errors 多个错误信息.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StatusColor 状态色.