Documentation
¶
Index ¶
- Constants
- func FindDeepOrders(deepMap map[string][]string) []string
- func FindHeadOrders(deepMap map[string][]string) []string
- func ReadCfg(path ...string) interface{}
- func Register(lang interface{})
- func SetProfilesCfgPath(cfgLocationPath string)
- func Start()
- func Stop()
- func Unregister(lang interface{})
- func WriteCfg(writeCfg interface{}, path ...string)
- type BaseStart
- type BaseStop
- type DirectorStart
- type DirectorStop
- type OctopusDirector
Constants ¶
View Source
const ProfilesBananerFileName = "bananer.text"
默认读Bananer存放地址
View Source
const ProfilesCfgDefaultKey1 = "octopus"
默认读配置文件
View Source
const ProfilesCfgDefaultKey2 = "cfg"
默认读配置文件
View Source
const ProfilesCfgDefaultKey3 = "active"
默认读配置文件
View Source
const ProfilesCfgPath = "profiles"
配置文件路径
View Source
const ProfilesCfgPrefix = "cfg"
什么形式开头
View Source
const ProfilesCfgType = "yaml"
文件类型
Variables ¶
This section is empty.
Functions ¶
func FindDeepOrders ¶
func FindHeadOrders ¶
Types ¶
type DirectorStart ¶
type DirectorStart struct { }
DirectorStart
func (*DirectorStart) Start ¶
func (d *DirectorStart) Start()
type DirectorStop ¶
type DirectorStop struct { }
Director停止方法
func (*DirectorStop) Stop ¶
func (d *DirectorStop) Stop()
type OctopusDirector ¶
Click to show internal directories.
Click to hide internal directories.