Categorygithub.com/dpeckett/contextio
modulepackage
0.5.1
Repository: https://github.com/dpeckett/contextio.git
Documentation: pkg.go.dev

# README

contextio

Contextio provides context-aware I/O primitives for Go. Supports net.Conn and os.Pipe readers / writers.

# Functions

CopyContext is equivalent to `io.Copy` but with context cancellation support (for deadline reader/writers).
No description provided by the author
No description provided by the author
Pipe is equivalent to `io.Pipe` but with deadline support.
No description provided by the author
SpliceContext copies data between two ReadWriters until EOF is reached on one of them.

# Variables

No description provided by the author

# Structs

A PipeReader is the read half of a pipe.
A PipeWriter is the write half of a pipe.

# Interfaces

No description provided by the author
Reader types.
No description provided by the author
Full duplex I/O.
No description provided by the author
Writer types.