relay

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(dst io.Writer, src io.Reader) (n int64, err error)

func CopyN

func CopyN(dst io.Writer, src io.Reader, n int64) (written int64, err error)

func Relay

func Relay(rw1, rw2 io.ReadWriteCloser)

Relay pipe

Types

type ReadOnlyReader

type ReadOnlyReader struct{ io.Reader }

type WriteOnlyWriter

type WriteOnlyWriter struct{ io.Writer }

Jump to

Keyboard shortcuts

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