Documentation ¶
Index ¶
Constants ¶
View Source
const ( Log = "log" Exec = "exec" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipe ¶
type Pipe interface { CopyToWebsocket(io.ReadWriter, *websocket.Conn) error Ends() (io.ReadWriter, io.ReadWriter) Close() error Closed() bool OnClose(func()) PipeType() string }
func NewPipeFromEnds ¶
func NewPipeFromEnds(local, remote io.ReadWriter, pipeType string) Pipe
Click to show internal directories.
Click to hide internal directories.