Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport interface { // Dial should mimic net.Dial. Dial(network, address string) (net.Conn, error) // Exec should execute a binary on the host. Exec(cmd string, arguments ...string) (io.Reader, io.Reader, error) // ReadFile should mimic ioutil.ReadFile. ReadFile(filename string) ([]byte, error) }
Transport defines a transport interface.
Click to show internal directories.
Click to hide internal directories.