Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInboundConnSession ¶
func NewInboundConnSession(rwc *common.RewindReadWriteCloser) (protocol.ConnSession, *protocol.Request, error)
Types ¶
type SocksConnInboundSession ¶
type SocksConnInboundSession struct { protocol.ConnSession protocol.NeedRespond // contains filtered or unexported fields }
func (*SocksConnInboundSession) Close ¶
func (i *SocksConnInboundSession) Close() error
func (*SocksConnInboundSession) Read ¶
func (i *SocksConnInboundSession) Read(p []byte) (int, error)
func (*SocksConnInboundSession) Respond ¶
func (i *SocksConnInboundSession) Respond() error
type SocksInboundPacketSession ¶
type SocksInboundPacketSession struct { protocol.PacketSession // contains filtered or unexported fields }
func NewInboundPacketSession ¶
func (*SocksInboundPacketSession) Close ¶
func (i *SocksInboundPacketSession) Close() error
func (*SocksInboundPacketSession) ReadPacket ¶
func (i *SocksInboundPacketSession) ReadPacket() (*protocol.Request, []byte, error)
func (*SocksInboundPacketSession) WritePacket ¶
Click to show internal directories.
Click to hide internal directories.