Просмотр исходного кода

isolate router settings synthesis: auto generated file

Shelikhoo 4 лет назад
Родитель
Сommit
72d2184dba

+ 9 - 0
infra/conf/cfgcommon/loader/errors.generated.go

@@ -0,0 +1,9 @@
+package loader
+
+import "github.com/v2fly/v2ray-core/v4/common/errors"
+
+type errPathObjHolder struct{}
+
+func newError(values ...interface{}) *errors.Error {
+	return errors.New(values...).WithPathObj(errPathObjHolder{})
+}

+ 9 - 0
infra/conf/synthetic/router/errors.generated.go

@@ -0,0 +1,9 @@
+package router
+
+import "github.com/v2fly/v2ray-core/v4/common/errors"
+
+type errPathObjHolder struct{}
+
+func newError(values ...interface{}) *errors.Error {
+	return errors.New(values...).WithPathObj(errPathObjHolder{})
+}