Documentation
¶
Index ¶
Constants ¶
View Source
const ( BASDiscover_HomeDir = ".basdis" BASDiscover_CFG_FileName = "basdis.json" )
Variables ¶
This section is empty.
Functions ¶
func GetBASDisCFGFile ¶
func GetBASDisCFGFile() string
func GetBASDisHomeDir ¶
func GetBASDisHomeDir() string
func IsInitialized ¶
func IsInitialized() bool
Types ¶
type BasDiscover ¶
type BasDiscover struct { MgtHttpPort int `json:"mgthttpport"` KeyPath string `json:"keypath"` CmdListenPort string `json:"cmdlistenport"` }
func GetBasDisCfg ¶
func GetBasDisCfg() *BasDiscover
func LoadFromCfgFile ¶
func LoadFromCfgFile(file string) *BasDiscover
func LoadFromCmd ¶
func LoadFromCmd(initfromcmd func(cmdbc *BasDiscover) *BasDiscover) *BasDiscover
func PreLoad ¶
func PreLoad() *BasDiscover
func (*BasDiscover) InitCfg ¶
func (bc *BasDiscover) InitCfg() *BasDiscover
func (*BasDiscover) Load ¶
func (bc *BasDiscover) Load() *BasDiscover
func (*BasDiscover) Save ¶
func (bc *BasDiscover) Save()
Click to show internal directories.
Click to hide internal directories.