Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //App settings AppVer string AppName string AppURL string AppPath string AppAddr string AppPort string //Global setting objects Cfg *ini.File DebugMode bool IsWindows bool ConfFile string // Database settings UseSQLite3 bool UseMySQL bool UsePostgreSQL bool UseMSSQL bool // Log settings LogRootPath string LogModes []string LogConfigs []interface{} //Security settings InstallLock bool // true mean installed // OAuth2 SessionExpires time.Duration )
Functions ¶
func NewContext ¶
func NewContext()
NewContext initializes configuration context. NOTE: do not print any log except error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.