Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleShadowSocks ¶
func ParseSSURL ¶
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func New ¶
func New(config LC.ShadowsocksServer, tcpIn chan<- C.ConnContext, udpIn chan<- C.PacketAdapter) (*Listener, error)
func (*Listener) HandleConn ¶
type UDPListener ¶
type UDPListener struct {
// contains filtered or unexported fields
}
func NewUDP ¶
func NewUDP(addr string, pickCipher core.Cipher, in chan<- C.PacketAdapter) (*UDPListener, error)
func (*UDPListener) Close ¶
func (l *UDPListener) Close() error
func (*UDPListener) LocalAddr ¶
func (l *UDPListener) LocalAddr() net.Addr
Click to show internal directories.
Click to hide internal directories.