Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConvertCMDType = "convert" InitCMDType = "init" LoginCMDType = "login" LogoutCMDType = "logout" PullCMDType = "pull" PushCMDType = "push" FetchCMDType = "fetch" )
Variables ¶
This section is empty.
Functions ¶
func WriteConfig ¶
Types ¶
type Config ¶
type Config struct { Platform string `yaml:"platform"` Password string `yaml:"password,omitempty"` Timeout int `yaml:"timeout"` CmdList []Command `yaml:"cmdList"` }
func GetDefaultConfig ¶
func OpenConfig ¶
Click to show internal directories.
Click to hide internal directories.