mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-07-23 03:17:57 +00:00
.github
api
app
mydispatcher
config.pb.go
config.proto
default.go
dispatcher.go
errors.generated.go
fakednssniffer.go
sniffer.go
stats.go
stats_test.go
app.go
cmd
common
panel
release
service
.gitignore
Dockerfile
LICENSE
README-en.md
README-vi.md
README.md
README_Fa.md
go.mod
go.sum
main.go

fix: some log prefix It an enhance device limit. Redis just use to sync local ipMap. If global limit is enabled. The online report will faliure. All enabled nodes will report the device from redis.
8 lines
157 B
Go
8 lines
157 B
Go
package mydispatcher
|
|
|
|
import "github.com/xtls/xray-core/common/errors"
|
|
|
|
func newError(values ...interface{}) *errors.Error {
|
|
return errors.New(values...)
|
|
}
|