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
Click to show internal directories.
Click to hide internal directories.