Documentation ¶
Index ¶
Constants ¶
View Source
const ( NATError = stun.NATError NATUnknown = stun.NATUnknown NATNone = stun.NATNone NATBlocked = stun.NATBlocked NATFull = stun.NATFull NATSymmetric = stun.NATSymmetric NATRestricted = stun.NATRestricted NATPortRestricted = stun.NATPortRestricted NATSymmetricUDPFirewall = stun.NATSymmetricUDPFirewall )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg config.Wrapper, subscriber Subscriber, conn *net.UDPConn) (*Service, net.PacketConn)
type Subscriber ¶
Click to show internal directories.
Click to hide internal directories.