Documentation
¶
Index ¶
- Constants
- Variables
- func GetAppName() string
- func GetConfDirPath() string
- func GetLocalIp() string
- func GetRootPath() string
- func GetRunMode() string
- func LoadConf(filename, subConf string, s interface{})
- func LoadVoice(filename, subConf string, b *[]byte)
- func SetAppName(appName string)
- func SetRunMode(runMode string)
Constants ¶
View Source
const ( SubConfMount = "mount" SubConfApp = "app" SubConfAttachment = "attachment" )
View Source
const DefaultRootPath = "."
Variables ¶
View Source
var ( LocalIP string AppName string RunMode string )
Functions ¶
func GetAppName ¶
func GetAppName() string
func GetRunMode ¶
func GetRunMode() string
func SetAppName ¶
func SetAppName(appName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.