Documentation
¶
Index ¶
- Constants
- Variables
- func GetByteConf(configPath string) []byte
- func GetConf(byteConfig []byte, nodeConfig interface{})
- func GetConfigDir() string
- func GetProcessDir() string
- func GetProcessPath() string
- func LoadConfig(configPath string)
- func StartLogger(Log logger.LogConfig)
- func Version(major, minor, build, revision interface{})
- func WritePidFile(pidFile string) error
- type Config
Constants ¶
View Source
const ( // DefaultConfig constant DefaultConfig string = "config" )
Variables ¶
View Source
var AppVersion string
AppVersion variable
View Source
var Ver string
Ver variable
Functions ¶
func WritePidFile ¶
WritePidFile Write a pid file, but first make sure it doesn't exist with a running pid.
Types ¶
Click to show internal directories.
Click to hide internal directories.