Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInboundConnSession ¶ added in v0.3.0
func NewInboundConnSession(conn io.ReadWriteCloser) (protocol.ConnSession, *protocol.Request, error)
func NewOutboundConnSession ¶
func NewOutboundConnSession(req *protocol.Request, conn io.ReadWriteCloser) (protocol.ConnSession, error)
Types ¶
type SimpleSocksConnSession ¶
type SimpleSocksConnSession struct { protocol.ConnSession // contains filtered or unexported fields }
func (*SimpleSocksConnSession) Close ¶
func (m *SimpleSocksConnSession) Close() error
func (*SimpleSocksConnSession) GetRequest ¶
func (m *SimpleSocksConnSession) GetRequest() *protocol.Request
Click to show internal directories.
Click to hide internal directories.