Versions in this module Expand all Collapse all v1 v1.2.0 Nov 10, 2026 Changes in this version + const ALPN + const NetworkMixed + const NetworkQUIC + const NetworkTCP + var File_core_protocol_nowhere_config_proto protoreflect.FileDescriptor + func Build(info *panel.NodeInfo, tag string) (*xray.InboundHandlerConfig, error) + func ValidateProtocol(p panel.Protocol) error + type Account struct + Key string + func (*Account) Descriptor() ([]byte, []int) + func (*Account) ProtoMessage() + func (a *Account) AsAccount() (protocol.Account, error) + func (x *Account) GetKey() string + func (x *Account) ProtoReflect() protoreflect.Message + func (x *Account) Reset() + func (x *Account) String() string + type Config struct + Alpn string + CertificateFile string + KeyFile string + Listen string + Morph bool + Network uint32 + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (x *Config) GetAlpn() string + func (x *Config) GetCertificateFile() string + func (x *Config) GetKeyFile() string + func (x *Config) GetListen() string + func (x *Config) GetMorph() bool + func (x *Config) GetNetwork() uint32 + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type Handler struct + func (*Handler) Network() []xnet.Network + func (*Handler) Process(context.Context, xnet.Network, stat.Connection, routing.Dispatcher) error + func (h *Handler) AddUser(ctx context.Context, user *protocol.MemoryUser) error + func (h *Handler) AddUsers(ctx context.Context, users []*protocol.MemoryUser) error + func (h *Handler) Addr(network string) net.Addr + func (h *Handler) Close() error + func (h *Handler) GetUser(_ context.Context, email string) *protocol.MemoryUser + func (h *Handler) GetUsers(context.Context) []*protocol.MemoryUser + func (h *Handler) GetUsersCount(context.Context) int64 + func (h *Handler) NewConnectionEx(ctx context.Context, conn net.Conn, source, target M.Socksaddr, ...) + func (h *Handler) NewPacketConnectionEx(ctx context.Context, conn N.PacketConn, source, target M.Socksaddr, ...) + func (h *Handler) RemoveUser(ctx context.Context, email string) error + func (h *Handler) RemoveUsers(ctx context.Context, emails []string) error + func (h *Handler) Start() error + func (h *Handler) String() string