Documentation ¶
Index ¶
Constants ¶
View Source
const DB_CHARSET = "utf8mb4"
View Source
const DB_DATABASE_NAME = "tl"
View Source
const DB_HOST string = "localhost"
View Source
const DB_LOC = "Local" // Local time
View Source
const DB_PARSETIME = "true" // Parse tiem
View Source
const DB_PASSWORD string = "123456"
View Source
const DB_PORT string = "3306"
View Source
const DB_TablePrefix = "tl_" // Table Prefix
View Source
const DB_USERNAME string = "root"
Database config
View Source
const JWT_MY_SECRET_KEY string = "307680186@qq.com"
JWT
View Source
const WEB_HOST string = "0.0.0.0"
Web config
View Source
const WEB_MAXHEADERBYTES = 1 << 20
View Source
const WEB_PORT string = "8081"
View Source
const WEB_READTIMEOUT = 3 * 10 * time.Second
View Source
const WEB_RELATIVE_PATH = "/static"
View Source
const WEB_RUNMODE_DEBUG = true
View Source
const WEB_STATIC_ROOT = "./static"
View Source
const WEB_WRITETIMEOUT = 3 * 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.