mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
20 lines
659 B
Go
20 lines
659 B
Go
package net
|
|
|
|
import (
|
|
"github.com/Dreamacro/clash/common/net/deadline"
|
|
"github.com/Dreamacro/clash/common/net/packet"
|
|
)
|
|
|
|
type EnhancePacketConn = packet.EnhancePacketConn
|
|
type WaitReadFrom = packet.WaitReadFrom
|
|
|
|
var NilPut = packet.NilPut
|
|
var NewEnhancePacketConn = packet.NewEnhancePacketConn
|
|
var NewThreadSafePacketConn = packet.NewThreadSafePacketConn
|
|
var NewRefPacketConn = packet.NewRefPacketConn
|
|
|
|
var NewDeadlineNetPacketConn = deadline.NewNetPacketConn
|
|
var NewDeadlineEnhancePacketConn = deadline.NewEnhancePacketConn
|
|
var NewDeadlineSingPacketConn = deadline.NewSingPacketConn
|
|
var NewDeadlineEnhanceSingPacketConn = deadline.NewEnhanceSingPacketConn
|