cnst

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Mode          = "mode"
	AppId         = "AppID"
	AppName       = "AppName"
	LogLevel      = "logLevel"
	ServerLogging = "ServerLogging"
	OnServerLog   = "OnServerLog"
	AppKey        = "AppKey"
	ServerAuthen  = "ServerAuthen"
	SecretKey     = "SECRET_KEY"
)
View Source
const (
	HTTP200 = "200 OK"
	HTTP201 = "201 Created"
	HTTP203 = "203"
	HTTP206 = "206 Partial Content"
	HTTP302 = "302 Found"
	HTTP400 = "400 Bad Request"
	HTTP401 = "401 Unauthorized"
	HTTP403 = "403 Forbidden"
	HTTP404 = "404 Not Found"
	HTTP405 = "405 Method Not Allowed"
	HTTP408 = "408 Request Timeout"
	HTTP415 = "415 Unsupported Media Type"
	HTTP429 = "429 Too Many Requests"
	HTTP500 = "500 Internal Server Error"
	HTTP502 = "502 Bad Gateway"
	HTTP503 = "503 Service Unavailable"
	HTTP504 = "504 Gateway Timeout"
)
View Source
const (
	Debug   = "debug"
	Info    = "info"
	Warning = "warning"
	Error   = "error"
	Fatal   = "fatal"
)
View Source
const (
	TokenNotFound      = 100
	PathParamNotFound  = 120
	QueryParamNotMatch = 120
)

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