consts

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenAPITitle       = `Gowlive API`
	OpenAPIDescription = `Gowlive API`
	OpenAPIVersion     = `1.0.0`

	MySwaggerUITemplate = `` /* 331-byte string literal not displayed */

)
View Source
const (
	LogTypeUser = 1
	LogTypeLive = 2

	LogStatusSuccess = 1
	LogStatusError   = 0
)
View Source
const (
	MultiLogin        = true
	ServerName        = "Gowlive Api"
	TokenType         = "Bearer"
	Timeout           = 86400
	GTokenAdminPrefix = "SYS-ADMIN-"

	ContextKey     = "ContextKey"
	UserSessionKey = "UserSessionKey"

	Success = "success"
	Error   = "error"

	CtxAdminId   = "CtxAdminId"
	CtxAdminName = "CtxAdminName"

	DefaultAdminId  = 1
	DefaultPassword = "gowlive"

	StatusActive  = 1
	StatusDisable = 0
)

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