Documentation ¶
Index ¶
- Constants
- type OverlayAddr
- func (a *OverlayAddr) Copy() *OverlayAddr
- func (a *OverlayAddr) Eq(o *OverlayAddr) bool
- func (a *OverlayAddr) L3() addr.HostAddr
- func (a *OverlayAddr) L4() addr.L4Info
- func (a *OverlayAddr) Network() string
- func (a *OverlayAddr) String() string
- func (a *OverlayAddr) ToUDPAddr() *net.UDPAddr
- func (a *OverlayAddr) Type() Type
- type Type
Constants ¶
View Source
const ( IPv4Name = "IPv4" IPv6Name = "IPv6" IPv46Name = "IPv4+6" UDPIPv4Name = "UDP/IPv4" UDPIPv6Name = "UDP/IPv6" UDPIPv46Name = "UDP/IPv4+6" )
View Source
const ( // EndhostPort is the overlay port that the dispatcher binds to on non-routers. Subject to // change during standardisation. EndhostPort = 30041 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OverlayAddr ¶ added in v0.2.0
type OverlayAddr struct {
// contains filtered or unexported fields
}
func NewOverlayAddr ¶ added in v0.2.0
func (*OverlayAddr) Copy ¶ added in v0.2.0
func (a *OverlayAddr) Copy() *OverlayAddr
func (*OverlayAddr) Eq ¶ added in v0.2.0
func (a *OverlayAddr) Eq(o *OverlayAddr) bool
func (*OverlayAddr) L3 ¶ added in v0.2.0
func (a *OverlayAddr) L3() addr.HostAddr
func (*OverlayAddr) L4 ¶ added in v0.2.0
func (a *OverlayAddr) L4() addr.L4Info
func (*OverlayAddr) Network ¶ added in v0.2.0
func (a *OverlayAddr) Network() string
func (*OverlayAddr) String ¶ added in v0.2.0
func (a *OverlayAddr) String() string
func (*OverlayAddr) ToUDPAddr ¶ added in v0.2.0
func (a *OverlayAddr) ToUDPAddr() *net.UDPAddr
func (*OverlayAddr) Type ¶ added in v0.2.0
func (a *OverlayAddr) Type() Type
Click to show internal directories.
Click to hide internal directories.