2023-05-11 13:47:51 +08:00
|
|
|
package net
|
|
|
|
|
|
|
|
import (
|
2023-05-11 19:01:41 +08:00
|
|
|
"github.com/Dreamacro/clash/common/net/deadline"
|
|
|
|
"github.com/Dreamacro/clash/common/net/packet"
|
2023-05-11 13:47:51 +08:00
|
|
|
)
|
|
|
|
|
2023-05-11 19:01:41 +08:00
|
|
|
type EnhancePacketConn = packet.EnhancePacketConn
|
2023-05-28 15:22:08 +08:00
|
|
|
type WaitReadFrom = packet.WaitReadFrom
|
2023-05-11 13:47:51 +08:00
|
|
|
|
2023-05-28 15:22:08 +08:00
|
|
|
var NilPut = packet.NilPut
|
2023-05-11 19:01:41 +08:00
|
|
|
var NewEnhancePacketConn = packet.NewEnhancePacketConn
|
2023-05-20 16:57:42 +08:00
|
|
|
var NewThreadSafePacketConn = packet.NewThreadSafePacketConn
|
|
|
|
var NewRefPacketConn = packet.NewRefPacketConn
|
|
|
|
|
2023-05-19 23:29:43 +08:00
|
|
|
var NewDeadlineNetPacketConn = deadline.NewNetPacketConn
|
2023-05-11 19:58:50 +08:00
|
|
|
var NewDeadlineEnhancePacketConn = deadline.NewEnhancePacketConn
|
2023-05-19 23:29:43 +08:00
|
|
|
var NewDeadlineSingPacketConn = deadline.NewSingPacketConn
|
|
|
|
var NewDeadlineEnhanceSingPacketConn = deadline.NewEnhanceSingPacketConn
|