Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketUniClient ¶
type PacketUniClient struct { TxChannel chan interfaces.TrafficWithChannelTag TxDataChannel chan interfaces.TrafficWithChannelTag RxChannel chan interfaces.TrafficWithChannelTag Password []byte // contains filtered or unexported fields }
func NewPacketUniClient ¶
func NewPacketUniClient(TxChannel chan interfaces.TrafficWithChannelTag, TxDataChannel chan interfaces.TrafficWithChannelTag, RxChannel chan interfaces.TrafficWithChannelTag, Password []byte, ctx context.Context) *PacketUniClient
func (*PacketUniClient) ClientOpenStream ¶
func (pu *PacketUniClient) ClientOpenStream() io.ReadWriteCloser
func (*PacketUniClient) GetTransmitLayerSentRecvStats ¶
func (pu *PacketUniClient) GetTransmitLayerSentRecvStats() (uint64, uint64)
func (*PacketUniClient) OnAutoCarrier ¶
func (pu *PacketUniClient) OnAutoCarrier(conn net.Conn, connctx context.Context)
Click to show internal directories.
Click to hide internal directories.