mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
Remove compatibility code
The minimum support go version is already 1.18
This commit is contained in:
parent
84537e98c4
commit
debd2e3ba8
11 changed files with 0 additions and 222 deletions
|
@ -1,5 +1,3 @@
|
|||
//go:build go1.18
|
||||
|
||||
package outbound
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
//go:build !go1.18
|
||||
|
||||
package outbound
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
|
||||
"github.com/xtls/xray-core/common/net"
|
||||
"github.com/xtls/xray-core/transport/internet/stat"
|
||||
)
|
||||
|
||||
func (h *Handler) getUoTConnection(ctx context.Context, dest net.Destination) (stat.Connection, error) {
|
||||
return nil, os.ErrInvalid
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue