Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Socks5Server ¶
type Socks5Server struct {
Config *client.Config
DialFunc func(config *client.Config, metadata *codec.Metadata) (net.Conn, error)
}
Socks5Server struct
func (*Socks5Server) ListenAndServe ¶
func (s *Socks5Server) ListenAndServe(network, addr string) error
ListenAndServe listen and serve
Click to show internal directories.
Click to hide internal directories.