dialer

package
v0.0.0-...-5f892d9 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialContext

func DialContext(ctx context.Context, network, address string) (net.Conn, error)

func Dialer

func Dialer() (*net.Dialer, error)

func ListenPacket

func ListenPacket(network, address string) (net.PacketConn, error)

func RegisterDialerController

func RegisterDialerController(ctl func(network, address string, fd uintptr) error) error

func RegisterListenerController

func RegisterListenerController(controller func(network, address string, fd uintptr) error) error

Types

type DefaultListener

type DefaultListener struct {
	// contains filtered or unexported fields
}

func (*DefaultListener) ListenPacket

func (dl *DefaultListener) ListenPacket(ctx context.Context, network, address string) (net.PacketConn, error)

Jump to

Keyboard shortcuts

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