Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UDPClientContext ¶
type UDPClientContext struct { TrackedChannel sync.Map //Key:uint16 Channel TrackedAddr sync.Map //Key: TxToServer chan UDPClientTxToServerTraffic TxToServerData chan UDPClientTxToServerDataTraffic RxFromServer chan UDPClientRxFromServerTraffic LocalTxToTun chan interfaces.UDPPacket LocalRxFromTun chan interfaces.UDPPacket LastPongRecv time.Time GetTransmitLayerSentRecvStatsInt interfaces.GetTransmitLayerSentRecvStats QualityInt interfaces.QualityEstimator // contains filtered or unexported fields }
func UDPClient ¶
func UDPClient(context context.Context, TxToServer chan UDPClientTxToServerTraffic, TxToServerData chan UDPClientTxToServerDataTraffic, RxFromServer chan UDPClientRxFromServerTraffic, LocalTxToTun chan interfaces.UDPPacket, LocalRxFromTun chan interfaces.UDPPacket, GetTransmitLayerSentRecvStatsInt interfaces.GetTransmitLayerSentRecvStats) *UDPClientContext
func (*UDPClientContext) AggressivePingBegin ¶
func (ucc *UDPClientContext) AggressivePingBegin()
func (*UDPClientContext) RxFromServerWorker ¶
func (ucc *UDPClientContext) RxFromServerWorker()
func (*UDPClientContext) TxToServerWorker ¶
func (ucc *UDPClientContext) TxToServerWorker()
type UDPClientRxFromServerTraffic ¶
type UDPClientRxFromServerTraffic interfaces.TrafficWithChannelTag
type UDPClientTrackedAddrContext ¶
type UDPClientTrackedAddrContext struct {
Channel uint16
}
type UDPClientTrackedAddrKey ¶
func (*UDPClientTrackedAddrKey) Key ¶
func (uctak *UDPClientTrackedAddrKey) Key() string
type UDPClientTxToServerDataTraffic ¶
type UDPClientTxToServerDataTraffic interfaces.TrafficWithChannelTag
type UDPClientTxToServerTraffic ¶
type UDPClientTxToServerTraffic interfaces.TrafficWithChannelTag
Click to show internal directories.
Click to hide internal directories.