Versions in this module Expand all Collapse all v1 v1.0.1 Jun 26, 2022 Changes in this version + var File_proxy_vmess_inbound_config_proto protoreflect.FileDescriptor + type Config struct + Default *DefaultConfig + Detour *DetourConfig + SecureEncryptionOnly bool + User []*protocol.User + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (c *Config) GetDefaultValue() *DefaultConfig + func (x *Config) GetDefault() *DefaultConfig + func (x *Config) GetDetour() *DetourConfig + func (x *Config) GetSecureEncryptionOnly() bool + func (x *Config) GetUser() []*protocol.User + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type DefaultConfig struct + AlterId uint32 + Level uint32 + func (*DefaultConfig) Descriptor() ([]byte, []int) + func (*DefaultConfig) ProtoMessage() + func (x *DefaultConfig) GetAlterId() uint32 + func (x *DefaultConfig) GetLevel() uint32 + func (x *DefaultConfig) ProtoReflect() protoreflect.Message + func (x *DefaultConfig) Reset() + func (x *DefaultConfig) String() string + type DetourConfig struct + To string + func (*DetourConfig) Descriptor() ([]byte, []int) + func (*DetourConfig) ProtoMessage() + func (x *DetourConfig) GetTo() string + func (x *DetourConfig) ProtoReflect() protoreflect.Message + func (x *DetourConfig) Reset() + func (x *DetourConfig) String() string + type Handler struct + func New(ctx context.Context, config *Config) (*Handler, error) + func (*Handler) Network() []net.Network + func (h *Handler) AddUser(ctx context.Context, user *protocol.MemoryUser) error + func (h *Handler) Close() error + func (h *Handler) GetUser(email string) *protocol.MemoryUser + func (h *Handler) Process(ctx context.Context, network net.Network, connection stat.Connection, ...) error + func (h *Handler) RemoveUser(ctx context.Context, email string) error