Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithReadClose ¶
func WithReadClose(f func()) func(*opts)
func WithWriteClose ¶
func WithWriteClose(f func()) func(*opts)
Types ¶
type Deadline ¶
type Deadline struct {
// contains filtered or unexported fields
}
func (*Deadline) SetDeadline ¶
type PipeDeadline ¶
type PipeDeadline struct {
// contains filtered or unexported fields
}
func NewPipe ¶
func NewPipe(os ...func(*opts)) *PipeDeadline
func (*PipeDeadline) Close ¶
func (x *PipeDeadline) Close() error
func (*PipeDeadline) ReadContext ¶
func (x *PipeDeadline) ReadContext() context.Context
func (*PipeDeadline) SetDeadline ¶
func (x *PipeDeadline) SetDeadline(t time.Time)
func (*PipeDeadline) SetReadDeadline ¶
func (x *PipeDeadline) SetReadDeadline(t time.Time)
func (*PipeDeadline) SetWriteDeadline ¶
func (x *PipeDeadline) SetWriteDeadline(t time.Time)
func (*PipeDeadline) WriteContext ¶
func (x *PipeDeadline) WriteContext() context.Context
Click to show internal directories.
Click to hide internal directories.