Versions in this module Expand all Collapse all v1 v1.3.0 Nov 8, 2022 Changes in this version + type ObfsUDPHopClientPacketConn struct + func NewObfsUDPHopClientPacketConn(server string, hopInterval time.Duration, obfs obfs.Obfuscator) (*ObfsUDPHopClientPacketConn, net.Addr, error) + func (c *ObfsUDPHopClientPacketConn) Close() error + func (c *ObfsUDPHopClientPacketConn) LocalAddr() net.Addr + func (c *ObfsUDPHopClientPacketConn) ReadFrom(b []byte) (int, net.Addr, error) + func (c *ObfsUDPHopClientPacketConn) SetDeadline(t time.Time) error + func (c *ObfsUDPHopClientPacketConn) SetReadDeadline(t time.Time) error + func (c *ObfsUDPHopClientPacketConn) SetWriteDeadline(t time.Time) error + func (c *ObfsUDPHopClientPacketConn) WriteTo(b []byte, addr net.Addr) (int, error) v1.2.2 Oct 23, 2022 Changes in this version + type ObfsUDPPacketConn struct + func NewObfsUDPConn(orig *net.UDPConn, obfs obfs.Obfuscator) *ObfsUDPPacketConn + func (c *ObfsUDPPacketConn) Close() error + func (c *ObfsUDPPacketConn) File() (f *os.File, err error) + func (c *ObfsUDPPacketConn) LocalAddr() net.Addr + func (c *ObfsUDPPacketConn) ReadFrom(p []byte) (int, net.Addr, error) + func (c *ObfsUDPPacketConn) SetDeadline(t time.Time) error + func (c *ObfsUDPPacketConn) SetReadBuffer(bytes int) error + func (c *ObfsUDPPacketConn) SetReadDeadline(t time.Time) error + func (c *ObfsUDPPacketConn) SetWriteBuffer(bytes int) error + func (c *ObfsUDPPacketConn) SetWriteDeadline(t time.Time) error + func (c *ObfsUDPPacketConn) SyscallConn() (syscall.RawConn, error) + func (c *ObfsUDPPacketConn) WriteTo(p []byte, addr net.Addr) (n int, err error)