Add tun support

This commit is contained in:
世界
2023-04-06 19:00:46 +08:00
parent 18e5b0963f
commit 603264017a
13 changed files with 935 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
package tun
import "github.com/xtls/xray-core/common/errors"
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
}