This commit is contained in:
RPRX 2020-12-04 09:36:16 +08:00
parent ed8d6d743c
commit 16544c18ab
627 changed files with 3247 additions and 2635 deletions

View file

@ -12,10 +12,10 @@ import (
"math/big"
"time"
"github.com/xtls/xray-core/v1/common"
"github.com/xtls/xray-core/common"
)
//go:generate go run github.com/xtls/xray-core/v1/common/errors/errorgen
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
type Certificate struct {
// Cerificate in ASN.1 DER format

View file

@ -9,8 +9,8 @@ import (
"testing"
"time"
"github.com/xtls/xray-core/v1/common"
"github.com/xtls/xray-core/v1/common/task"
"github.com/xtls/xray-core/common"
"github.com/xtls/xray-core/common/task"
)
func TestGenerate(t *testing.T) {

View file

@ -1,6 +1,6 @@
package cert
import "github.com/xtls/xray-core/v1/common/errors"
import "github.com/xtls/xray-core/common/errors"
type errPathObjHolder struct{}

View file

@ -5,7 +5,7 @@ import (
"errors"
"strings"
"github.com/xtls/xray-core/v1/common"
"github.com/xtls/xray-core/common"
)
type SniffHeader struct {

View file

@ -3,7 +3,7 @@ package tls_test
import (
"testing"
. "github.com/xtls/xray-core/v1/common/protocol/tls"
. "github.com/xtls/xray-core/common/protocol/tls"
)
func TestTLSHeaders(t *testing.T) {