Documentation
¶
Index ¶
- Variables
- type Pipe
- func (p *Pipe) Cancel()
- func (p *Pipe) Close()
- func (p *Pipe) Create(perm uint32) error
- func (p *Pipe) Delete() error
- func (p *Pipe) Open(mode int) error
- func (p *Pipe) OpenRead() error
- func (p *Pipe) OpenWrite() error
- func (p *Pipe) Read() ([]byte, error)
- func (p *Pipe) ReadWait(timeout float64) ([]byte, error)
- func (p *Pipe) Write(data []byte) error
- func (p *Pipe) WriteWait(data []byte, timeout float64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrError = errors.New("") ErrOpen = fmt.Errorf("%wopen pipe failed", ErrError) ErrClosed = fmt.Errorf("%wpipe closed", ErrError) ErrBreak = fmt.Errorf("%woperation break", ErrError) ErrTimeout = fmt.Errorf("%woperation timeout", ErrError) ErrRead = fmt.Errorf("%wread pipe failed", ErrError) ErrWrite = fmt.Errorf("%wwrite pipe failed", ErrError) )
Functions ¶
This section is empty.
Types ¶
type Pipe ¶
type Pipe struct { // read/write polling params PollInterval float64 PollChunkSize int PollMaxSize int // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.