Documentation ¶
Index ¶
Constants ¶
View Source
const SO_REUSEPORT = 0xf
SO_REUSEPORT reuseport flag for sockets
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UDPEndpoint ¶
type UDPEndpoint struct {
// contains filtered or unexported fields
}
UDPEndpoint endpoint based on udp protocol
func NewUDPEndpoint ¶
func NewUDPEndpoint(address string, chain *resolver.ResolverChain) *UDPEndpoint
NewUDPEndpoint create a new udp enpoint with the given chain
func (*UDPEndpoint) SetChain ¶
func (e *UDPEndpoint) SetChain(chain *resolver.ResolverChain)
SetChain implements server.Endpoint
Click to show internal directories.
Click to hide internal directories.