streamer

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StepStream

type StepStream interface {
	Recv() (*pb.ExecuteInputEvent, error)
	Send(event *pb.ExecuteOutputEvent) error
}

type StepStreamer

type StepStreamer struct {
	Stream StepStream
	Pty    *os.File
}

func New

func New(stream StepStream) *StepStreamer

func (*StepStreamer) Close

func (c *StepStreamer) Close() error

func (*StepStreamer) Run

func (c *StepStreamer) Run(cmd *exec.Cmd) error

func (*StepStreamer) Write added in v0.2.0

func (c *StepStreamer) Write(bytes []byte) error

Jump to

Keyboard shortcuts

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