link

package
v0.0.0-...-68efac8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: Apache-2.0 Imports: 7 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 {
	Data       []byte
	EOF        bool
	WindowSize *WindowSize
}
type Link struct {
	*Writer
	// contains filtered or unexported fields
}

func Create

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

func (*Link) Wait

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

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) SetWindowSize

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

func (*Writer) Write

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

Jump to

Keyboard shortcuts

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