vless.go 456 B

12345678910111213
  1. // Package vless contains the implementation of VLess protocol and transportation.
  2. //
  3. // VLess contains both inbound and outbound connections. VLess inbound is usually used on servers
  4. // together with 'freedom' to talk to final destination, while VLess outbound is usually used on
  5. // clients with 'socks' for proxying.
  6. package vless
  7. //go:generate go run v2ray.com/core/common/errors/errorgen
  8. const (
  9. XRO = "xtls-rprx-origin"
  10. XRD = "xtls-rprx-direct"
  11. )