mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-09-06 00:09:20 +03:00
* implement WireGuard protocol for Outbound * upload license * fix build for openbsd & dragonfly os * updated wireguard-go * fix up * switch to another wireguard fork * fix * switch to upstream * open connection through internet.Dialer (#1) * use internet.Dialer * maybe better code * fix * real fix Co-authored-by: nanoda0523 <nanoda0523@users.noreply.github.com> * fix bugs & add ability to recover during connection reset on UDP over TCP parent protocols * improve performance improve performance * dns lookup endpoint && remove unused code * interface address fallback * better code && add config test case Co-authored-by: nanoda0523 <nanoda0523@users.noreply.github.com>
10 lines
218 B
Go
10 lines
218 B
Go
package wireguard
|
|
|
|
import "github.com/xtls/xray-core/common/errors"
|
|
|
|
type errPathObjHolder struct{}
|
|
|
|
func newError(values ...interface{}) *errors.Error {
|
|
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
|
}
|