Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOutboundConnSession ¶
func NewOutboundConnSession(conn io.ReadWriteCloser, req *protocol.Request) (protocol.ConnSession, error)
func NewOutboundPacketSession ¶
func NewOutboundPacketSession() (protocol.PacketSession, error)
Types ¶
type DirectOutboundConnSession ¶
type DirectOutboundConnSession struct { protocol.ConnSession // contains filtered or unexported fields }
func (*DirectOutboundConnSession) Close ¶
func (o *DirectOutboundConnSession) Close() error
type DirectOutboundPacketSession ¶
type DirectOutboundPacketSession struct { protocol.PacketSession // contains filtered or unexported fields }
func (*DirectOutboundPacketSession) Close ¶
func (o *DirectOutboundPacketSession) Close() error
func (*DirectOutboundPacketSession) ReadPacket ¶
func (o *DirectOutboundPacketSession) ReadPacket() (*protocol.Request, []byte, error)
func (*DirectOutboundPacketSession) WritePacket ¶
Click to show internal directories.
Click to hide internal directories.