package
1.10.8
Repository: https://github.com/v-mars/frame.git
Documentation: pkg.go.dev

# Functions

CreateSuccess 创建响应成功.
DeleteSuccess 删除响应成功.
No description provided by the author
EncryptSuccess 加密数据响应成功.
Error 响应失败.
No description provided by the author
No description provided by the author
FailedCode 响应失败 code.
FailedCodeRecovery 响应失败 code.
No description provided by the author
GetMsg get msg by code.
GetMsgErr get error msg by code.
GetPageExport 获取导出参数.
GetPageIndex 获取页码.
GetPageKey 获取搜索关键词信息.
GetPageLimit 获取每页记录数.
GetPageSort 获取排序信息.
GetQueryToInt QueryToInt.
GetQueryToIntE QueryToUintE.
No description provided by the author
No description provided by the author
GetQueryToUint QueryToUint.
GetQueryToUint64 QueryToUint.
GetQueryToUint64E QueryToUintE.
GetQueryToUintE QueryToUintE.
No description provided by the author
No description provided by the author
No description provided by the author
PageSuccess 响应成功.
No description provided by the author
No description provided by the author
ResJSON 响应JSON数据.
No description provided by the author
Stack returns a nicely formatted Stack frame, skipping skip frames.
No description provided by the author
No description provided by the author
No description provided by the author
UpdateSuccess 更新响应成功.

# Constants

ErrBadRequest 请求参数错误.
ErrCronExpr CronExpr表达式不规范.
ErrCtxCanceled 取消调用.
ErrCtxDeadlineExceeded 调用超时.
ErrDelHostGroupUseByTask 正在被其他的任务使用,不能删除.
ErrDelHostUseByOtherHG 正在被其他的主机组使用,不能删除.
ErrDelUserUseByOther // 请先删除此用户创建的主机组或者任务后再删除.
ErrEmailExist 用户名已存在.
ErrHostgroupExist 主机组已存在.
ErrHostgroupNotExist 主机组不存在.
ErrHostNotExist 主机不存在.
服务器发生错误.
令牌失效.
方法不被允许.
无访问权限.
资源不存在.
ErrRPCNotConnHost 未找到存活的worker.
ErrRPCNotValidHost 未发现worker.
ErrRPCUnauthenticated 密钥认证失败.
ErrRPCUnavailable 调用对端不可用.
ErrRPCUnknown 调用未知错误.
ErrTaskExist 任务名已存在.
ErrTaskNotExist 任务不存在.
ErrTaskUseByOtherTask 别的任务依赖此任务,请先在其他的任务的父子任务中移除此任务.
请求过于频繁.
ErrUnauthorized 非法请求.
ErrUserForbid 禁止登陆.
ErrUserNameExist 邮箱已经存在.
ErrUserNotExist 用户不存在.
ErrUserPassword 用户密码错误.
失败的状态码.
MD5加密前缀字符串.
成功的状态码.
超级管理员账号ID.
页面token键名.
页面用户ID键名.
页面UUID键名.
成功的状态码.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author