Documentation ¶
Index ¶
- func Join(a io.ReadWriter, b io.ReadWriter) error
- type Addr
- type Conn
- func (s *Conn) Close() error
- func (s *Conn) LocalAddr() net.Addr
- func (s *Conn) Read(p []byte) (int, error)
- func (s *Conn) RemoteAddr() net.Addr
- func (s *Conn) SetDeadline(t time.Time) error
- func (s *Conn) SetReadDeadline(t time.Time) error
- func (s *Conn) SetWriteDeadline(t time.Time) error
- func (s *Conn) Write(p []byte) (int, error)
- type CrlfWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Join ¶
func Join(a io.ReadWriter, b io.ReadWriter) error
Join connects two ReaderWriter interfaces to form a direct connection.
Types ¶
type Addr ¶
type Addr struct {
// contains filtered or unexported fields
}
Addr implements net.Addr for stdin/stdout.
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn implements a net.Conn via stdin/stdout.
func DialCommand ¶
DialCommand wraps the stdio of a subprocess.
func (*Conn) SetDeadline ¶
SetDeadline sets the read/write deadline.
func (*Conn) SetReadDeadline ¶
SetReadDeadline sets the read/write deadline.
func (*Conn) SetWriteDeadline ¶
SetWriteDeadline sets the read/write deadline.
type CrlfWriter ¶
Click to show internal directories.
Click to hide internal directories.