Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn represents a Mule connection. You can use it to send UDP packets to multiple remote servers with unreachable ports. Then you receive ICMP Destination/Port Unreachable packets from the remote servers.
type OptionFn ¶
type OptionFn func(*Conn)
OptionFn is a function type for configuring Conn options
func WithIPv4Flag ¶
WithIPv4Flag sets the IPv4 flag for the connection
func WithLocalIP ¶
WithLocalIP sets the local IP address for the connection
func WithTimeout ¶
WithTimeout sets the timeout duration for the connection
Click to show internal directories.
Click to hide internal directories.

