global

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DriverPostgresql = "postgresql"
	DriverOpenGauss  = "opengauss"
	DriverKingBase   = "kingbase" //人大金仓:postgres模式
	DriverMysql      = "mysql"
	DriverDM         = "dm"         //达梦数据库
	DriverSqlite     = "sqlite"     //
	DriverClickHouse = "clickhouse" //
)
View Source
const PageSizeDefault = 10 //默认每页显示数量

Variables

View Source
var (
	RequestParamErr   = errors.New("invalid request param")
	ServerErr         = errors.New("server error")
	RequestErrExt     = errors.New("上传包格式错误")
	UsernameHasExists = errors.New("该用户名已存在")
	TokenExpired      = errors.New("token is expired or error")
	UserNotExisted    = errors.New("user not existed")
	AdminPasswordErr  = errors.New("password error")
	AdminDisabledErr  = errors.New("admin account disabled")
)
View Source
var (
	DBNullErr   = errors.New("缺少数据库实例")
	InitDataErr = errors.New("初始化数据失败")
)

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