Documentation ¶
Index ¶
- Variables
- func DialContext(ctx context.Context, network, address string, options ...Option) (net.Conn, error)
- func DialContextHost(ctx context.Context, network string, host string, port string, ...) (net.Conn, error)
- func ExDialContext(ctx context.Context, network string, destination net.IP, port string, ...) (net.Conn, error)
- func ListenPacket(ctx context.Context, network, address string, options ...Option) (net.PacketConn, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultOptions []Option
)
Functions ¶
func DialContext ¶
func DialContextHost ¶
func ExDialContext ¶
func ListenPacket ¶
Types ¶
type Option ¶
type Option func(opt *config)
func WithAddrReuse ¶
func WithInterface ¶
func WithSkipDefault ¶
Click to show internal directories.
Click to hide internal directories.