consts

package
v0.0.0-...-a97389e Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FilePthSep = string(os.PathSeparator)
)

Variables

View Source
var (
	ConfigFile = fmt.Sprintf("conf%s%s.conf", FilePthSep, commConsts.App)

	ExtNameSuite  = "cs"
	ExtNameJson   = "json"
	ExtNameResult = "txt"

	LogDir = fmt.Sprintf("log%s", FilePthSep)

	LeftWidth = 36
	MinWidth  = 130
	MinHeight = 36

	CmdViewHeight    = 10
	ExpectResultPass = "pass"

	RequestTypePathInfo = "PATH_INFO"

	RunModeCommon  = "common"
	RunModeServer  = "server"
	RunModeRequest = "request"

	Authorization = "Authorization"
	Bearer        = "Bearer"

	DateTimeFormat = "2006-01-02 15:04:05"
)
View Source
var (
	ScreenWidth  int
	ScreenHeight int
)

Functions

This section is empty.

Types

type ResultCode

type ResultCode int
const (
	ResultCodeSuccess ResultCode = 0
	ResultCodeFail    ResultCode = 1
)

func (ResultCode) Int

func (e ResultCode) Int() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL