Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultSelector is the default server selector. // It only supports No-Auth Method. DefaultSelector gosocks5.Selector = &serverSelector{} )
Functions ¶
Types ¶
type Handler ¶
Handler is interface for server handler.
var ( // DefaultHandler is the default server handler. DefaultHandler Handler )
type ServerOption ¶
type ServerOption func(opts *ServerOptions)
ServerOption allows a common way to set server options.
Click to show internal directories.
Click to hide internal directories.