ctxreader

package
v0.0.0-...-7149754 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package ctxreader brings context.Context to io.Reader

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, r io.Reader) io.Reader

New returns a new reader that emits a context error through its r.Read() method when ctx canceled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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