rwcancel

package
v0.0.0-...-e7f66ed Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetryAfterError

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