Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientVersion ¶
func GetClientVersion() string
GetClientVersion returns client version in string
func GetVersionJSON ¶
GetVersionJSON returns VersionInfo object in JSON string
Types ¶
type Config ¶
type Config struct { Host string `yaml:"host"` Port int `yaml:"port"` User string `yaml:"user"` Zone string `yaml:"zone"` Password string `yaml:"password"` SourcePath string `yaml:"src_path"` DestinationPath string `yaml:"dest_path"` Colorize bool `yaml:"colorize"` }
Config holds the parameters list which can be configured
func NewConfigFromYAML ¶
NewConfigFromYAML creates Config from YAML
type VersionInfo ¶
type VersionInfo struct { ClientVersion string `json:"clientVersion"` GitCommit string `json:"gitCommit"` BuildDate string `json:"buildDate"` GoVersion string `json:"goVersion"` Compiler string `json:"compiler"` Platform string `json:"platform"` }
VersionInfo object contains version related info
Click to show internal directories.
Click to hide internal directories.