Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePaths ¶
type FilePaths struct {
RootPath string
EtcPath string
LogPath string
DataPath string
LibPath string
BinPath string
PluginPath string
}
func GetGlobalPath ¶
func GetGlobalPath() *FilePaths
type GloabelConfig ¶
type GloabelConfig struct {
Name string `yaml:"name"`
Version string `yaml:"version"`
Description string `yaml:"description"`
Author string `yaml:"author"`
License string `yaml:"license"`
Url string `yaml:"homepage"`
Md5 string `yaml:"md5"`
Config interface{} `yaml:"config"`
}
func InitGlobalConfig ¶
func InitGlobalConfig() *GloabelConfig
Click to show internal directories.
Click to hide internal directories.