Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DirectTarget = Target{ Name: "direct", Dialer: &net.Dialer{ DualStack: true, }, }
Functions ¶
This section is empty.
Types ¶
type AddressDetails ¶
type AddressDetails struct { Address string // for dial functions: [...]:... FQDN string // only the domain name, if available IP net.IP Zone string // ipv6 zone [...%zone]:... Port string }
func ParseAddress ¶
func ParseAddress(addr string) (*AddressDetails, error)
type Route ¶
type Route interface { // could theoretically create dynamic targets for each match Match(network string, address AddressDetails) *Target }
func ParseRoute ¶
Click to show internal directories.
Click to hide internal directories.