Versions in this module Expand all Collapse all v1 v1.19.0 Nov 25, 2023 Changes in this version + func HandleSocks4(conn net.Conn, in chan<- C.ConnContext) + func HandleSocks5(conn net.Conn, in chan<- C.ConnContext) + func New(addr string, in chan<- C.ConnContext) (C.Listener, error) + func NewUDP(addr string, in chan<- *inbound.PacketAdapter) (C.Listener, error) + type Listener struct + func (l *Listener) Address() string + func (l *Listener) Close() error + func (l *Listener) RawAddress() string + type UDPListener struct + func (l *UDPListener) Address() string + func (l *UDPListener) Close() error + func (l *UDPListener) RawAddress() string