Documentation ¶
Index ¶
Constants ¶
View Source
const (
REMOVED = "removed"
)
Variables ¶
View Source
var ( Found = ark.Result(1, "_found", "不存在", false) Error = ark.Result(2, "_error", "系统错误", false) Failed = ark.Result(3, "_error", "参数错误", false) Denied = ark.Result(4, "_denied", "拒绝访问", false) MappingEmpty = ark.Result(11, "_mapping_empty", "%s不可为空", false) MappingError = ark.Result(12, "_mapping_error", "%s不是有效的值", false) AuthEmpty = ark.Result(21, "_auth_empty", "%s未登录", false) AuthError = ark.Result(22, "_auth_error", "%s无效登录", false) ItemEmpty = ark.Result(31, "_item_empty", "%s记录不存在", false) ItemError = ark.Result(32, "_item_error", "%s记录不存在", false) CreateOK = ark.Result(0, ".create.ok", "添加成功") ChangeOK = ark.Result(0, ".change.ok", "修改成功") RemoveOK = ark.Result(0, ".remove.ok", "删除成功") RecoverOK = ark.Result(0, ".recover.ok", "恢复成功") ActionOK = ark.Result(0, ".action.ok", "操作成功") BatchOK = ark.Result(0, ".batch.ok", "批量操作成功") UploadOK = ark.Result(0, ".upload.ok", "上传成功") CreateFail = ark.Result(40, ".create.fail", "添加失败") ChangeFail = ark.Result(41, ".change.fail", "修改失败") RemoveFail = ark.Result(42, ".remove.fail", "删除失败") RecoverFail = ark.Result(43, ".recover.fail", "恢复失败") ActionFail = ark.Result(44, ".action.fail", "操作失败") UploadFail = ark.Result(45, ".upload.fail", "上传失败") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.