Reformat code (quic sniffers)

This commit is contained in:
世界 2022-05-24 06:57:16 +08:00
parent 3b77e26fa7
commit 398375d76f
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 4 additions and 5 deletions

View file

@ -2,12 +2,12 @@ package dispatcher
import (
"context"
"github.com/xtls/xray-core/common/net"
"github.com/xtls/xray-core/common/protocol/quic"
"github.com/xtls/xray-core/common"
"github.com/xtls/xray-core/common/net"
"github.com/xtls/xray-core/common/protocol/bittorrent"
"github.com/xtls/xray-core/common/protocol/http"
"github.com/xtls/xray-core/common/protocol/quic"
"github.com/xtls/xray-core/common/protocol/tls"
)

View file

@ -6,8 +6,8 @@ import (
"math"
"time"
"github.com/xtls/xray-core/common/buf"
"github.com/xtls/xray-core/common"
"github.com/xtls/xray-core/common/buf"
)
type SniffHeader struct{}

View file

@ -8,12 +8,11 @@ import (
"io"
"github.com/lucas-clemente/quic-go/quicvarint"
"golang.org/x/crypto/hkdf"
"github.com/xtls/xray-core/common"
"github.com/xtls/xray-core/common/buf"
"github.com/xtls/xray-core/common/errors"
ptls "github.com/xtls/xray-core/common/protocol/tls"
"golang.org/x/crypto/hkdf"
)
type SniffHeader struct {