Documentation
¶
Index ¶
Constants ¶
View Source
const Port = 22
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func (*Connection) Close ¶
func (c *Connection) Close()
func (*Connection) EnsureConnected ¶
func (c *Connection) EnsureConnected() error
func (*Connection) Mkdir ¶ added in v1.1.0
func (c *Connection) Mkdir(path string) error
func (*Connection) RunCommand ¶
func (c *Connection) RunCommand(cmd string) error
func (*Connection) UploadFile ¶
func (c *Connection) UploadFile(path, destName string) error
Click to show internal directories.
Click to hide internal directories.