Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressInfo ¶
type ClientConfig ¶
type ClientConfig struct { Host string Port int64 Username string Password string LastResult string // contains filtered or unexported fields }
func (*ClientConfig) CreateClient ¶
func (cf *ClientConfig) CreateClient(host string, port int64, username, password string)
func (*ClientConfig) Download ¶
func (cf *ClientConfig) Download(srcPath, dstPath string)
func (*ClientConfig) RunShell ¶
func (cf *ClientConfig) RunShell(shell string) string
func (*ClientConfig) Upload ¶
func (cf *ClientConfig) Upload(srcPath, dstPath string)
type JsonConfigInfo ¶
type JsonConfigInfo struct { Address *AddressInfo `json:"address"` DownloadPath *PathInfo `json:"download_path"` UploadPath *PathInfo `json:"upload_path"` Name string `json:"name"` }
Click to show internal directories.
Click to hide internal directories.