eagain

package
v0.0.0-...-288c4de Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	Reader io.Reader
}

Reader represents an io.Reader that handles EAGAIN.

func (Reader) Read

func (er Reader) Read(p []byte) (int, error)

Read behaves like io.Reader.Read but will retry on EAGAIN.

type Writer

type Writer struct {
	Writer io.Writer
}

Writer represents an io.Writer that handles EAGAIN.

func (Writer) Write

func (ew Writer) Write(p []byte) (int, error)

Write behaves like io.Writer.Write but will retry on EAGAIN.

Jump to

Keyboard shortcuts

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