link

package
v0.333.2-candidate Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	StdinData  []byte
	EOF        bool
	WindowSize *WindowSize
	Msg        []byte
}
type Link struct {
	*Writer
	// contains filtered or unexported fields
}

func Create

func Create(logger lager.Logger, socketPath string, stdout io.Writer, stderr io.Writer) (*Link, error)

func (*Link) Wait

func (link *Link) Wait() (int, error)

type SignalMsg

type SignalMsg struct {
	Signal syscall.Signal `json:"signal"`
}

type WindowSize

type WindowSize struct {
	Columns int
	Rows    int
}

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(conn net.Conn) *Writer

func (*Writer) Close

func (w *Writer) Close() error

func (*Writer) SendMsg

func (w *Writer) SendMsg(msg []byte) error

func (*Writer) SetWindowSize

func (w *Writer) SetWindowSize(cols, rows int) error

func (*Writer) TerminateConnection

func (w *Writer) TerminateConnection() error

func (*Writer) Write

func (w *Writer) Write(d []byte) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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