Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TerminalClient ¶
type TerminalClient struct {
// contains filtered or unexported fields
}
TerminalClient manages the websocket connection to a remote terminal
func NewTerminalClient ¶
func NewTerminalClient(sandboxURL, token string) (*TerminalClient, error)
NewTerminalClient creates a new terminal client and connects to the remote terminal
func (*TerminalClient) Close ¶
func (t *TerminalClient) Close()
Close closes the terminal connection and cleans up
func (*TerminalClient) Done ¶
func (t *TerminalClient) Done() <-chan struct{}
Done returns a channel that is closed when Close() has completed
Click to show internal directories.
Click to hide internal directories.