Versions in this module Expand all Collapse all v1 v1.8.4 Aug 21, 2023 Changes in this version + var File_proxy_vmess_inbound_config_proto protoreflect.FileDescriptor + type Config struct + Default *DefaultConfig + Detour *DetourConfig + 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) GetUser() []*protocol.User + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type DefaultConfig struct + Level uint32 + func (*DefaultConfig) Descriptor() ([]byte, []int) + func (*DefaultConfig) ProtoMessage() + 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