Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInboundMuxConnSession ¶
func NewInboundMuxConnSession(conn io.ReadWriteCloser, passwordHash string) (protocol.ConnSession, error)
func NewOutboundMuxConnSession ¶
func NewOutboundMuxConnSession(conn io.ReadWriteCloser, req *protocol.Request) (protocol.ConnSession, error)
Types ¶
type MuxConnSession ¶
type MuxConnSession struct { protocol.ConnSession protocol.NeedMeter protocol.HasRequest // contains filtered or unexported fields }
func (*MuxConnSession) Close ¶
func (m *MuxConnSession) Close() error
func (*MuxConnSession) GetRequest ¶
func (m *MuxConnSession) GetRequest() *protocol.Request
func (*MuxConnSession) SetMeter ¶
func (m *MuxConnSession) SetMeter(meter stat.TrafficMeter)
Click to show internal directories.
Click to hide internal directories.