package
Version:
v0.0.206
Opens a new window with list of versions in this module.
Published: Apr 8, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
DefaultHeight = 40
DefaultWidth = 80
)
type Client struct {
Addr string
User string
Dial func(ctx context.Context, network, addr string) (net.Conn, error)
PrivateKey, Certificate string
}
func (c *Client) Close() error
func (c *Client) Connect(ctx context.Context) error
func (c *Client) Shell(ctx context.Context, term *Terminal) error
type Terminal struct {
Stdin, Stdout, Stderr *os.File
Mode string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.