wsterm

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebTerm

type WebTerm struct {
	SocketConn *websocket.Conn
	// contains filtered or unexported fields
}

WebTerm connects to remote shell via websocket protocol and connects it to local terminal.

func NewWebTerm

func NewWebTerm(socketConn *websocket.Conn) *WebTerm

NewWebTerm creates a new WebTerm object and connects it to a given websocket.

func (*WebTerm) Run

func (w *WebTerm) Run()

Run starts transferring data between local terminal and remote shell connection.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL