Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the remote shell client.
func NewClientInsecure ¶
NewClientInsecure creates an insecure client.
func (*Client) Exec ¶
func (c *Client) Exec(opts *ExecOptions) (*int, error)
Exec executes a command in the server.
func (*Client) ExecContext ¶
ExecContext is like Exec, but with context.
type ExecOptions ¶
ExecOptions are the options for Exec.
Click to show internal directories.
Click to hide internal directories.