Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetClients() []*protocol.User
- func (x *Config) GetDecryption() string
- func (x *Config) GetFallbacks() []*Fallback
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Fallback
- func (*Fallback) Descriptor() ([]byte, []int)deprecated
- func (x *Fallback) GetAlpn() string
- func (x *Fallback) GetDest() string
- func (x *Fallback) GetName() string
- func (x *Fallback) GetPath() string
- func (x *Fallback) GetType() string
- func (x *Fallback) GetXver() uint64
- func (*Fallback) ProtoMessage()
- func (x *Fallback) ProtoReflect() protoreflect.Message
- func (x *Fallback) Reset()
- func (x *Fallback) String() string
- type Handler
- func (h *Handler) AddUser(ctx context.Context, u *protocol.MemoryUser) error
- func (h *Handler) Close() error
- func (*Handler) Network() []net.Network
- func (h *Handler) Process(ctx context.Context, network net.Network, connection stat.Connection, ...) error
- func (h *Handler) RemoveUser(ctx context.Context, e string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proxy_vless_inbound_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Clients []*protocol.User `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` // Decryption settings. Only applies to server side, and only accepts "none" // for now. Decryption string `protobuf:"bytes,2,opt,name=decryption,proto3" json:"decryption,omitempty"` Fallbacks []*Fallback `protobuf:"bytes,3,rep,name=fallbacks,proto3" json:"fallbacks,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetClients ¶
func (*Config) GetDecryption ¶
func (*Config) GetFallbacks ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Fallback ¶
type Fallback struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Alpn string `protobuf:"bytes,2,opt,name=alpn,proto3" json:"alpn,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Dest string `protobuf:"bytes,5,opt,name=dest,proto3" json:"dest,omitempty"` Xver uint64 `protobuf:"varint,6,opt,name=xver,proto3" json:"xver,omitempty"` // contains filtered or unexported fields }
func (*Fallback) Descriptor
deprecated
func (*Fallback) ProtoMessage ¶
func (*Fallback) ProtoMessage()
func (*Fallback) ProtoReflect ¶
func (x *Fallback) ProtoReflect() protoreflect.Message
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is an inbound connection handler that handles messages in VLess protocol.
Click to show internal directories.
Click to hide internal directories.