Documentation ¶
Index ¶
- Constants
- Variables
- func CompleteMetadataFromReader(m *Metadata, first4 []byte, r io.Reader) (err error)
- func NewDialer(nextDialer netproxy.Dialer, header protocol.Header) (netproxy.Dialer, error)
- func Password2Key(password string) (id []byte, err error)
- type Addons
- type Conn
- func (c *Conn) IntrinsicConn() netproxy.Conn
- func (c *Conn) Read(b []byte) (n int, err error)
- func (c *Conn) ReadFrom(p []byte) (n int, addr netip.AddrPort, err error)
- func (c *Conn) ReadReqHeader() (err error)
- func (c *Conn) ReadRespHeader() (err error)
- func (c *Conn) Write(b []byte) (n int, err error)
- func (c *Conn) WriteTo(p []byte, addr string) (n int, err error)
- type Dialer
- type Metadata
Constants ¶
View Source
const (
XRV = "xtls-rprx-vision"
)
Variables ¶
View Source
var (
FailAuthErr = fmt.Errorf("incorrect UUID")
)
View Source
var File_transport_vless_config_proto protoreflect.FileDescriptor
Functions ¶
func Password2Key ¶
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 Conn ¶
func (*Conn) IntrinsicConn ¶
func (*Conn) ReadReqHeader ¶
func (*Conn) ReadRespHeader ¶
Click to show internal directories.
Click to hide internal directories.