Documentation ¶
Index ¶
- Constants
- Variables
- type Addons
- type Client
- type Conn
- func (vc *Conn) IsXTLSVisionEnabled() bool
- func (vc *Conn) NeedHandshake() bool
- func (vc *Conn) Read(b []byte) (int, error)
- func (vc *Conn) ReadBuffer(buffer *buf.Buffer) error
- func (vc *Conn) Upstream() any
- func (vc *Conn) Write(p []byte) (int, error)
- func (vc *Conn) WriteBuffer(buffer *buf.Buffer) error
- type DstAddr
Constants ¶
View Source
const ( XRO = "xtls-rprx-origin" XRD = "xtls-rprx-direct" XRS = "xtls-rprx-splice" XRV = "xtls-rprx-vision" Version byte = 0 // protocol version. preview version is 0 )
View Source
const ( CommandTCP byte = 1 CommandUDP byte = 2 CommandMux byte = 3 )
Command types
View Source
const ( AtypIPv4 byte = 1 AtypDomainName byte = 2 AtypIPv6 byte = 3 )
Addr types
Variables ¶
View Source
var File_transport_vless_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Addons ¶
type Addons struct { Flow string `protobuf:"bytes,1,opt,name=Flow,proto3" json:"Flow,omitempty"` Seed []byte `protobuf:"bytes,2,opt,name=Seed,proto3" json:"Seed,omitempty"` // contains filtered or unexported fields }
func (*Addons) Descriptor
deprecated
func (*Addons) ProtoMessage ¶
func (*Addons) ProtoMessage()
func (*Addons) ProtoReflect ¶
func (x *Addons) ProtoReflect() protoreflect.Message
type Client ¶
type Client struct { Addons *Addons // contains filtered or unexported fields }
Client is vless connection generator
type Conn ¶
type Conn struct { N.ExtendedWriter N.ExtendedReader net.Conn // contains filtered or unexported fields }
func (*Conn) IsXTLSVisionEnabled ¶
func (*Conn) NeedHandshake ¶
Click to show internal directories.
Click to hide internal directories.