chore: move pktconns out of transport pkg

This commit is contained in:
Toby 2022-11-19 13:48:57 -08:00
parent cdbfa0fca2
commit 00ec7e5ad9
15 changed files with 11 additions and 11 deletions

View File

@ -11,7 +11,7 @@ import (
"os"
"time"
"github.com/apernet/hysteria/pkg/transport/pktconns"
"github.com/apernet/hysteria/pkg/pktconns"
"github.com/apernet/hysteria/pkg/pmtud"
"github.com/apernet/hysteria/pkg/redirect"

View File

@ -7,7 +7,7 @@ import (
"net/http"
"time"
"github.com/apernet/hysteria/pkg/transport/pktconns"
"github.com/apernet/hysteria/pkg/pktconns"
"github.com/apernet/hysteria/cmd/auth"
"github.com/apernet/hysteria/pkg/acl"

View File

@ -12,7 +12,7 @@ import (
"sync"
"time"
"github.com/apernet/hysteria/pkg/transport/pktconns"
"github.com/apernet/hysteria/pkg/pktconns"
"github.com/apernet/hysteria/pkg/congestion"

View File

@ -6,7 +6,7 @@ import (
"syscall"
"time"
"github.com/apernet/hysteria/pkg/transport/pktconns/obfs"
"github.com/apernet/hysteria/pkg/pktconns/obfs"
)
const udpBufferSize = 4096

View File

@ -5,10 +5,10 @@ import (
"strings"
"time"
"github.com/apernet/hysteria/pkg/transport/pktconns/faketcp"
"github.com/apernet/hysteria/pkg/transport/pktconns/obfs"
"github.com/apernet/hysteria/pkg/transport/pktconns/udp"
"github.com/apernet/hysteria/pkg/transport/pktconns/wechat"
"github.com/apernet/hysteria/pkg/pktconns/faketcp"
"github.com/apernet/hysteria/pkg/pktconns/obfs"
"github.com/apernet/hysteria/pkg/pktconns/udp"
"github.com/apernet/hysteria/pkg/pktconns/wechat"
)
type (

View File

@ -8,7 +8,7 @@ import (
"sync"
"time"
"github.com/apernet/hysteria/pkg/transport/pktconns/obfs"
"github.com/apernet/hysteria/pkg/pktconns/obfs"
)
const (

View File

@ -7,7 +7,7 @@ import (
"syscall"
"time"
"github.com/apernet/hysteria/pkg/transport/pktconns/obfs"
"github.com/apernet/hysteria/pkg/pktconns/obfs"
)
const udpBufferSize = 4096

View File

@ -9,7 +9,7 @@ import (
"syscall"
"time"
"github.com/apernet/hysteria/pkg/transport/pktconns/obfs"
"github.com/apernet/hysteria/pkg/pktconns/obfs"
)
const udpBufferSize = 4096