Documentation ¶
Index ¶
- func RouteCoder(r *Route) []byte
- type Route
- func (r *Route) Clone() *Route
- func (r *Route) Coder() []byte
- func (r *Route) Decoder(body []byte) *Route
- func (r *Route) LocalUdpAddr() *UdpAddr
- func (r *Route) String() string
- func (r *Route) SyncAddr(newList []UdpAddr)
- func (r *Route) ThroughUdpAddr() *UdpAddr
- func (r *Route) TransferUdpAddr() *UdpAddr
- func (r *Route) Usability(dst *net.UDPAddr)
- type RouteCtrl
- type RouteList
- type UDP_TYPE
- type UdpAddr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RouteCoder ¶
Types ¶
type Route ¶
type Route struct { Token string IP ip.IP4 Udp []UdpAddr // contains filtered or unexported fields }
func RouteDecoder ¶
func (*Route) LocalUdpAddr ¶
func (*Route) ThroughUdpAddr ¶
func (*Route) TransferUdpAddr ¶
type UdpAddr ¶
func (*UdpAddr) UsabilitySet ¶
Click to show internal directories.
Click to hide internal directories.