Remove legacy code (#3838)

* Add feature migration notice

* Remove legacy code of transport processing

* Clear legacy proto field

* Fix missing

* Unify protocolname

* Test remove

* Supressor

* Weird code

* Remove errorgen related comments
This commit is contained in:
Kobe Arthur Scofield 2024-09-23 23:28:19 +08:00 committed by GitHub
parent d497de916f
commit 7086d286be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
83 changed files with 206 additions and 512 deletions

View file

@ -1,7 +1,5 @@
package commander
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
"net"

View file

@ -1,7 +1,5 @@
package dispatcher
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
"regexp"

View file

@ -1,3 +1 @@
package dispatcher
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen

View file

@ -1,8 +1,6 @@
// Package dns is an implementation of core.DNS feature.
package dns
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
"fmt"

View file

@ -1,3 +1 @@
package fakedns
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen

View file

@ -1,7 +1,5 @@
package command
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"

View file

@ -1,7 +1,5 @@
package log
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
"fmt"

View file

@ -5,8 +5,6 @@ import (
"time"
)
//go:generate go run github.com/v2fly/v2ray-core/v4/common/errors/errorgen
const (
rttFailed = time.Duration(math.MaxInt64 - iota)
rttUntested

View file

@ -1,3 +1 @@
package observatory
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen

View file

@ -1,4 +1,2 @@
// Package policy is an implementation of policy.Manager feature.
package policy
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen

View file

@ -1,3 +1 @@
package command
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen

View file

@ -1,7 +1,5 @@
package inbound
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
"sync"

View file

@ -1,7 +1,5 @@
package outbound
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
"sort"

View file

@ -1,7 +1,5 @@
package reverse
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"

View file

@ -1,7 +1,5 @@
package command
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
"time"

View file

@ -1,7 +1,5 @@
package router
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
sync "sync"

View file

@ -1,7 +1,5 @@
package command
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
"runtime"

View file

@ -1,7 +1,5 @@
package stats
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
import (
"context"
"sync"