Versions in this module Expand all Collapse all v1 v1.1.0 Sep 2, 2022 v1.0.1 Sep 2, 2022 Changes in this version + func ReadPacket(buf []byte, pack interface{}) error + type Server struct + func Serve(addr *net.UDPAddr) (*Server, error) + func (s *Server) ReadSocket() (*packets.PacketHeader, interface{}, error) + type Stats struct + func NewStats() *Stats + func (s *Stats) ErrCount() int + func (s *Stats) IncErr() + func (s *Stats) IncRecv() + func (s *Stats) PPS() int + func (s *Stats) RecvCount() int