Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface {
N.PacketConn
SetHandler(handler N.UDPHandlerEx)
canceler.PacketConn
}
type PrepareFunc ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(handler N.UDPConnectionHandlerEx, prepare PrepareFunc, timeout time.Duration, shared bool) *Service
func (*Service) NewPacketBatch ¶ added in v0.9.0
func (*Service) PurgeExpired ¶
func (s *Service) PurgeExpired()
Click to show internal directories.
Click to hide internal directories.