Versions in this module Expand all Collapse all v1 v1.2.5 Sep 6, 2026 v1.2.4 Jan 1, 2026 Changes in this version + type Client struct + func (c *Client) Close() error + func (c *Client) Connect(network, address string) error + func (c *Client) GetLocalAddr() net.Addr + func (c *Client) GetRemoteAddr() net.Addr + func (c *Client) Receive(bufferSize int, timeout time.Duration) ([]byte, net.Addr, error) + func (c *Client) Send(data []byte) (int, error) + func (c *Client) SendTo(data []byte, address string) (int, error) + func (c *Client) SetReadBuffer(bytes int) error + func (c *Client) SetWriteBuffer(bytes int) error + type ErrorHandler func(err error) + type PacketHandler func(data []byte, addr net.Addr, conn net.PacketConn) + type Server struct + func (s *Server) GetLocalAddr() net.Addr + func (s *Server) IsRunning() bool + func (s *Server) Start(network, address string, bufferSize int, handler PacketHandler, ...) error + func (s *Server) Stop() error