Versions in this module Expand all Collapse all v1 v1.1.1 Jun 6, 2023 Changes in this version type ServerAddr + Proxy string v1.1.0 Jun 6, 2023 Changes in this version + const Linux + const Macos + const Windows + func BuildExec(path, system, name string) + type ClientConfig struct + Host string + LastResult string + Password string + Port string + Username string + func CreateClient(host string, port string, username, password string) *ClientConfig + func (cf *ClientConfig) Download(srcPath, dstPath string) + func (cf *ClientConfig) Run(procName string) + func (cf *ClientConfig) RunShell(shell string) string + func (cf *ClientConfig) Upload(srcPath, dstPath string) + type ExecShell struct + Exit bool + ProcName string + type FileCtl struct + Dst string + Src string + type KBar struct + func (bar *KBar) Finish() + func (bar *KBar) New(start, total int64, text string) + func (bar *KBar) NewWithGraph(start, total int64, graph string, text string) + func (bar *KBar) Play(cur int64) + type ServerAddr struct + Account string + IP string + Password string + Port string + type Yaml struct + Commands []string + DownloadFiles []FileCtl + Exec ExecShell + Server ServerAddr + UploadFiles []FileCtl + func NewYaml(path string) *Yaml + func (yal Yaml) Run()