Documentation ¶
Overview ¶
Package environment @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 webos CLI @Author linngc @License
Package environment @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 webos CLI @Author linngc @License
Package environment @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 webos CLI @Author linngc @License
Index ¶
- func GetAddress() string
- func GetApplicationName() string
- func GetEnableOauth() bool
- func GetEnablePProf() bool
- func GetEnableRestart() bool
- func GetHttpsCertFile() string
- func GetHttpsEnable() bool
- func GetHttpsKeyFile() string
- func GetHttpsPort(def int) int
- func GetMainPath(absolutePath string) (runPath string)
- func GetMongoUri() string
- func GetStaticPath() string
- func GetSwaggerPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMainPath ¶
GetMainPath 获取并组装运行程序下配置文件路径 @param absolutePath
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.