contextio

package
v0.0.0-...-5c775dd Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeadlineReader

type DeadlineReader interface {
	io.Reader

	SetReadDeadline(t time.Time) error
}

type Reader

type Reader struct {
	Context context.Context
	Source  DeadlineReader
}

func NewReader

func NewReader(ctx context.Context, src DeadlineReader) *Reader

func (Reader) Read

func (rd Reader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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