Help us shape the future of Go! Take the 2026 Go Developer Survey

bufnet

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixedPipe

func FixedPipe(size int) (net.Conn, net.Conn)

FixedPipe creates a synchronous, in-memory, full duplex network connection with fixed-size buffers that have at least the specified size. Both ends implement the Conn interface.

func Pipe

func Pipe() (net.Conn, net.Conn)

Pipe creates a synchronous, in-memory, full duplex network connection with unlimited buffering. Both ends implement the Conn interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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