netpipe

package
v2.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDeadline = fmt.Errorf("pipe deadline exceeded")
View Source
var ErrExceedMaxSize = fmt.Errorf("exceed max size")
View Source
var ErrPipeClosed = fmt.Errorf("pipe closed")

Functions

func Pipe

func Pipe(maxSize int, addrs ...net.Addr) (net.Conn, net.Conn)

Pipe creates an async, in-memory, full duplex network connection; both ends implement the Conn interface. Reads on one end are matched with writes on the other, copying data directly between the two; there is an internal buffering of size.

Types

This section is empty.

Jump to

Keyboard shortcuts

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