Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPipePair ¶
func NewPipePair(ctx context.Context) (io.ReadWriteCloser, io.ReadWriteCloser)
NewPipePair returns a pair of io.ReadWriterCloser pipes that are connected together such that writes to one will appear as reads on the other and vice versa. Calling Close() on one end will indicate to the other end that the session has ended.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.