rwcancel

package
v0.0.20181001 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2018 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetryAfterError added in v0.0.20180531

func RetryAfterError(err error) bool

Types

type RWCancel

type RWCancel struct {
	// contains filtered or unexported fields
}

func NewRWCancel

func NewRWCancel(fd int) (*RWCancel, error)

func (*RWCancel) Cancel

func (rw *RWCancel) Cancel() (err error)

func (*RWCancel) Read

func (rw *RWCancel) Read(p []byte) (n int, err error)

func (*RWCancel) ReadyRead

func (rw *RWCancel) ReadyRead() bool

func (*RWCancel) ReadyWrite

func (rw *RWCancel) ReadyWrite() bool

func (*RWCancel) Write

func (rw *RWCancel) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL