mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-06-26 21:29:58 +00:00

* Revert "Remove hysteria2" This reverts commit 1d21d7a07761af3b40ecfbf418b0849eb1c3918b. * Update Hysteria2 * Rename hysteria2 module * fix broken hy2 import version --------- Co-authored-by: JimmyHuang454 <jimmyhuang454@gmail.com>
10 lines
223 B
Go
10 lines
223 B
Go
package hysteria2
|
|
|
|
import "github.com/v2fly/v2ray-core/v5/common/errors"
|
|
|
|
type errPathObjHolder struct{}
|
|
|
|
func newError(values ...interface{}) *errors.Error {
|
|
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
|
}
|