builtin

package module
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2021 License: 0BSD Imports: 21 Imported by: 1

README

builtin

ark builtin

Documentation

Index

Constants

View Source
const (
	REMOVED = "removed"
)

Variables

View Source
var (
	Found  = argo.Result(1, "_found", "不存在", false)
	Error  = argo.Result(2, "_error", "系统错误", false)
	Failed = argo.Result(3, "_error", "参数错误", false)
	Denied = argo.Result(4, "_denied", "拒绝访问", false)

	MappingEmpty = argo.Result(11, "_mapping_empty", "%s不可为空", false)
	MappingError = argo.Result(12, "_mapping_error", "%s不是有效的值", false)

	AuthEmpty = argo.Result(21, "_auth_empty", "%s未登录", false)
	AuthError = argo.Result(22, "_auth_error", "%s无效登录", false)

	ItemEmpty = argo.Result(31, "_item_empty", "%s记录不存在", false)
	ItemError = argo.Result(32, "_item_error", "%s记录不存在", false)

	CreateOK  = argo.Result(0, ".create.ok", "添加成功")
	ChangeOK  = argo.Result(0, ".change.ok", "修改成功")
	RemoveOK  = argo.Result(0, ".remove.ok", "删除成功")
	RecoverOK = argo.Result(0, ".recover.ok", "恢复成功")
	ActionOK  = argo.Result(0, ".action.ok", "操作成功")
	BatchOK   = argo.Result(0, ".batch.ok", "批量操作成功")
	UploadOK  = argo.Result(0, ".upload.ok", "上传成功")

	CreateFail  = argo.Result(40, ".create.fail", "添加失败")
	ChangeFail  = argo.Result(41, ".change.fail", "修改失败")
	RemoveFail  = argo.Result(42, ".remove.fail", "删除失败")
	RecoverFail = argo.Result(43, ".recover.fail", "恢复失败")
	ActionFail  = argo.Result(44, ".action.fail", "操作失败")
	UploadFail  = argo.Result(45, ".upload.fail", "上传失败")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL