consts

package
v1.6.40 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReqStrKey      = "gin-gonic/gin/reqstr"
	SessDataKey    = "gin-gonic/gin/sessdata"
	RestHandlerKey = "gin-gonic/gin/resthandler"
)
View Source
const (
	JsonContentTypeKey   = "Content-Type"
	JsonContentTypeValue = "application/json;charset=utf-8"
	PageNotFoundContent  = `{"code":404,"msg":"page not found"}`
)
View Source
const (
	DevMode  = "development" // 开发环境
	TestMode = "test"        // 测试环境
	GrayMode = "gray"        // 预发布环境
	ProMode  = "production"  // 生产环境
)
View Source
const (
	NormalFormat  = "2006-01-02 15:04:05"
	LogTimeFormat = "2006/01/02 15:04:05.000"
)

Variables

This section is empty.

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