Documentation ¶
Index ¶
- Variables
- func DialContext(ctx context.Context, network, address string, options ...Option) (net.Conn, error)
- func GetDial() bool
- func ListenPacket(ctx context.Context, network, address string, options ...Option) (net.PacketConn, error)
- func ParseNetwork(network string, addr netip.Addr) string
- func SetDial(concurrent bool)
- type Dialer
- type Option
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DialContext ¶
func ListenPacket ¶
Types ¶
type Option ¶
type Option func(opt *option)
func WithAddrReuse ¶
func WithInterface ¶
func WithOnlySingleStack ¶
func WithOption ¶
func WithOption(o option) Option
func WithPreferIPv4 ¶
func WithPreferIPv4() Option
func WithPreferIPv6 ¶
func WithPreferIPv6() Option
func WithResolver ¶
func WithRoutingMark ¶
Click to show internal directories.
Click to hide internal directories.