Skip to content

Commit 207fdca

Browse files
authored
XTLS
1 parent 5ac8ba1 commit 207fdca

18 files changed

+332
-43
lines changed

LICENSE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Copyright (c) 2020 RPRX. All rights reserved.
2+
3+
Only for compiling executables usage for now.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# XTLS
2+
THE FUTURE

alert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE-Go file.
44

5-
package tls
5+
package xtls
66

77
import "strconv"
88

auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE-Go file.
44

5-
package tls
5+
package xtls
66

77
import (
88
"bytes"

cipher_suites.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE-Go file.
44

5-
package tls
5+
package xtls
66

77
import (
88
"crypto"

common.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE-Go file.
44

5-
package tls
5+
package xtls
66

77
import (
88
"bytes"
@@ -17,12 +17,13 @@ import (
1717
"crypto/x509"
1818
"errors"
1919
"fmt"
20-
"internal/cpu"
2120
"io"
2221
"net"
2322
"strings"
2423
"sync"
2524
"time"
25+
26+
"golang.org/x/sys/cpu"
2627
)
2728

2829
const (

common_string.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)