common

package
v0.0.0-...-4d5a555 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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 NewPipe

func NewPipe(pipeType string) Pipe

func NewPipeFromEnds

func NewPipeFromEnds(local, remote io.ReadWriter, pipeType string) Pipe

Jump to

Keyboard shortcuts

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