network

package
v4.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseOnError

func CloseOnError(err *error, conn io.Closer)

func Dial

func Dial(addr string) net.Conn

func ListenAny

func ListenAny() net.Listener

func NopClose

func NopClose() error

Types

type CloseFunc

type CloseFunc func() error

type DialFunc

type DialFunc func(n, a string) (net.Conn, error)

type ListenFunc

type ListenFunc func(n, addr string) (net.Listener, error)

Jump to

Keyboard shortcuts

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