Documentation
¶
Index ¶
- type UdpRoutes
- func (u *UdpRoutes) AddRoute(from *net.UDPAddr, id int64)
- func (u *UdpRoutes) Associate(localid, remoteid int64)
- func (u *UdpRoutes) FindAssociation(id int64) (int64, bool)
- func (u *UdpRoutes) FindOrAddRouteByAddr(addr *net.UDPAddr) int64
- func (u *UdpRoutes) FindRouteByAddr(addr *net.UDPAddr) (int64, bool)
- func (u *UdpRoutes) FindRouteById(id int64) *net.UDPAddr
- func (u *UdpRoutes) RemoveRouteById(id int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UdpRoutes ¶
type UdpRoutes struct {
// contains filtered or unexported fields
}
func NewUdpRoutes ¶
func NewUdpRoutes() *UdpRoutes
func (*UdpRoutes) FindOrAddRouteByAddr ¶
func (*UdpRoutes) FindRouteByAddr ¶
func (*UdpRoutes) RemoveRouteById ¶
Click to show internal directories.
Click to hide internal directories.