Documentation ¶
Index ¶
- func HandleSocks4(conn net.Conn, in chan<- C.ConnContext, auth auth.Authenticator)
- func HandleSocks5(conn net.Conn, in chan<- C.ConnContext, auth auth.Authenticator)
- func New(addr string, in chan<- C.ConnContext) (C.Listener, error)
- func New4(addr string, in chan<- C.ConnContext) (C.Listener, error)
- func New5(addr string, in chan<- C.ConnContext) (C.Listener, error)
- func NewUDP(addr string, in chan<- *inbound.PacketAdapter) (C.Listener, error)
- type Listener
- type UDPListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSocks4 ¶
func HandleSocks4(conn net.Conn, in chan<- C.ConnContext, auth auth.Authenticator)
func HandleSocks5 ¶
func HandleSocks5(conn net.Conn, in chan<- C.ConnContext, auth auth.Authenticator)
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func (*Listener) RawAddress ¶
RawAddress implements C.Listener
func (*Listener) SetAuthenticator ¶
SetAuthenticator implements C.AuthenticatorListener
type UDPListener ¶
type UDPListener struct {
// contains filtered or unexported fields
}
func (*UDPListener) RawAddress ¶
func (l *UDPListener) RawAddress() string
RawAddress implements C.Listener
Click to show internal directories.
Click to hide internal directories.