output

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputProxyClient

type OutputProxyClient struct {
	Stdout *os.File
	Stderr *os.File
	// contains filtered or unexported fields
}

func NewOutputProxyClient

func NewOutputProxyClient() *OutputProxyClient

func (*OutputProxyClient) Close

func (p *OutputProxyClient) Close() (err error)

func (*OutputProxyClient) Connect

func (p *OutputProxyClient) Connect(stdoutPort int, stderrPort int) (err error)

type OutputProxyServer

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

func NewOutputProxyServer

func NewOutputProxyServer() *OutputProxyServer

func (*OutputProxyServer) Close

func (p *OutputProxyServer) Close() (err error)

func (*OutputProxyServer) Listen

func (p *OutputProxyServer) Listen() error

func (*OutputProxyServer) ReceiveAndOutput

func (p *OutputProxyServer) ReceiveAndOutput(ctx context.Context, stdout io.Writer, stderr io.Writer) error

func (*OutputProxyServer) StderrPort

func (p *OutputProxyServer) StderrPort() int

func (*OutputProxyServer) StdoutPort

func (p *OutputProxyServer) StdoutPort() int

func (*OutputProxyServer) WaitForConnection

func (p *OutputProxyServer) WaitForConnection(ctx context.Context) error

Jump to

Keyboard shortcuts

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