Documentation
¶
Index ¶
- type PTY
- func (p *PTY) Close()
- func (p *PTY) File() *os.File
- func (p *PTY) ForceClose()
- func (p *PTY) GetDataType() (dt string)
- func (p *PTY) IsTTY() bool
- func (p *PTY) Open()
- func (p *PTY) Read(b []byte) (int, error)
- func (p *PTY) ReadAll() ([]byte, error)
- func (p *PTY) ReadArray(ctx context.Context, callback func([]byte)) error
- func (p *PTY) ReadArrayWithType(ctx context.Context, callback func(interface{}, string)) error
- func (p *PTY) ReadLine(callback func([]byte)) error
- func (p *PTY) ReadMap(conf *config.Config, callback func(*stdio.Map)) error
- func (p *PTY) SetDataType(dt string)
- func (p *PTY) Stats() (uint64, uint64)
- func (p *PTY) Write(b []byte) (int, error)
- func (p *PTY) WriteArray(dataType string) (stdio.ArrayWriter, error)
- func (p *PTY) WriteTo(w io.Writer) (int64, error)
- func (p *PTY) Writeln(b []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PTY ¶
type PTY struct {
// contains filtered or unexported fields
}
func (*PTY) ForceClose ¶
func (p *PTY) ForceClose()
ForceClose forces the stream.Io interface to close. This should only be called by a STDIN reader
func (*PTY) GetDataType ¶
GetDataType returns the murex data type for the stream.Io interface
func (*PTY) ReadArrayWithType ¶
func (*PTY) SetDataType ¶
SetDataType defines the murex data type for the stream.Io interface
func (*PTY) WriteArray ¶
func (p *PTY) WriteArray(dataType string) (stdio.ArrayWriter, error)
Click to show internal directories.
Click to hide internal directories.