1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-12 12:15:26 -05:00

loopback outbound, allow you to redirect connection to the dispatcher again (#770)

* Added Loop back proxy

* Added json processing for lo proxy

* Fix bug for lo proxy

* Fix bug for lo proxy

* rename the outbound name

* Loopback: update naming and fix lint issues

* Chore: change lo to loopback

Co-authored-by: kslr <kslrwang@gmail.com>
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
This commit is contained in:
Xiaokang Wang
2021-03-13 09:25:56 +00:00
committed by GitHub
parent 0ae9ba5247
commit 0e5e5164ff
7 changed files with 315 additions and 0 deletions

View File

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