Documentation ¶
Index ¶
Constants ¶
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.1.1
type Server ¶ added in v1.12.1
type Server struct {
// contains filtered or unexported fields
}
Server is a SOCKS 5 proxy server
func NewServer ¶ added in v1.12.1
func NewServer(config *Config, packetDispatcher dispatcher.PacketDispatcher, meta *proxy.InboundHandlerMeta) *Server
NewServer creates a new Server object.
func (*Server) Close ¶ added in v1.12.1
func (this *Server) Close()
Close implements InboundHandler.Close().
func (*Server) Port ¶ added in v1.12.1
Port implements InboundHandler.Port().
type ServerFactory ¶ added in v1.17.1
type ServerFactory struct{}
func (*ServerFactory) Create ¶ added in v1.17.1
func (this *ServerFactory) Create(space app.Space, rawConfig interface{}, meta *proxy.InboundHandlerMeta) (proxy.InboundHandler, error)
func (*ServerFactory) StreamCapability ¶ added in v1.17.1
func (this *ServerFactory) StreamCapability() internet.StreamConnectionType
Click to show internal directories.
Click to hide internal directories.