Versions in this module Expand all Collapse all v1 v1.0.3 Sep 18, 2024 Changes in this version + type ClientConfig struct + Host string + LastResult string + Password string + Port int64 + Username string + func (cliConf *ClientConfig) CreateClient(host string, port int64, username, password string) error + func (cliConf *ClientConfig) Run(shell string) (string, string, int, error) + func (cliConf *ClientConfig) SftpClientClose() error + func (cliConf *ClientConfig) SshClientClose() error + func (cliConf *ClientConfig) UploadByte(localFileByte []byte, fileName string, remotePath string) (int, error) + func (cliConf *ClientConfig) UploadFile(localFilePath string, remotePath string) (int, error)