pty

package
v0.0.0-...-83b6606 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: GPL-3.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 PTYWrapper

type PTYWrapper struct {
	Command *exec.Cmd
	// contains filtered or unexported fields
}

func (*PTYWrapper) Close

func (w *PTYWrapper) Close() error

func (*PTYWrapper) Read

func (w *PTYWrapper) Read(p []byte) (int, error)

func (*PTYWrapper) Write

func (w *PTYWrapper) Write(p []byte) (int, error)

type ProxyPTY

type ProxyPTY struct {
	Command *exec.Cmd
}

func (*ProxyPTY) Dial

func (p *ProxyPTY) Dial() (io.ReadWriteCloser, error)

Jump to

Keyboard shortcuts

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