package
0.2.1
Repository: https://github.com/shanghai-edu/rmdb-lite.git
Documentation: pkg.go.dev

# Functions

ErrorRes 错误返回.
GetUserFromKey 根据 X-API-KEY 获取用户角色.
SuccessRes 正确返回.

# Constants

BodyJSONDecodeError JSON 解码失败的返回码.
InternalAPIError 内部服务错误.
InvalidAPIKEY X-API-KEY 非法的返回码.
OK 状态正常的返回码.
RecordAlreadyExists 插入数据时,数据已经存在的返回码.
RecordNotFound 没有查到数据的返回码.

# Variables

CodeMsg 返回码对应的中文 MSG 说明.

# Structs

APIResult 接口返回的标准结构.