Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct {
Driver Driver
}
Holds the connection driver.
func (*Connection) Exec ¶
func (c *Connection) Exec(command string) (string, error)
Execute a command on the server.
func (*Connection) Read ¶
func (c *Connection) Read(path string) (string, error)
Read a file contents.
func (*Connection) Upload ¶
func (c *Connection) Upload(path, destination string) error
Upload a file.
Click to show internal directories.
Click to hide internal directories.