Documentation ¶
Index ¶
- Variables
- func DialContext(ctx context.Context, network, address string, options ...Option) (net.Conn, error)
- func ListenPacket(ctx context.Context, network, address string, options ...Option) (net.PacketConn, error)
- func WithBindToInterfaceControlFn(interfaceName string) func(network, address string, c syscall.RawConn) (err error)
- type Option
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DialContext ¶
func ListenPacket ¶
Types ¶
type Option ¶
type Option func(opt *option)
func WithAddrReuse ¶
func WithDirect ¶
func WithDirect() Option
func WithFallbackBind ¶
func WithInterface ¶
func WithRoutingMark ¶
Click to show internal directories.
Click to hide internal directories.