Versions in this module Expand all Collapse all v24 v24.12.6 Dec 6, 2024 Changes in this version + var File_proxy_shadowsocks_2022_config_proto protoreflect.FileDescriptor + type Account struct + Key string + func (*Account) Descriptor() ([]byte, []int) + func (*Account) ProtoMessage() + func (u *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 ClientConfig struct + Address *net.IPOrDomain + Key string + Method string + Port uint32 + UdpOverTcp bool + UdpOverTcpVersion uint32 + func (*ClientConfig) Descriptor() ([]byte, []int) + func (*ClientConfig) ProtoMessage() + func (x *ClientConfig) GetAddress() *net.IPOrDomain + func (x *ClientConfig) GetKey() string + func (x *ClientConfig) GetMethod() string + func (x *ClientConfig) GetPort() uint32 + func (x *ClientConfig) GetUdpOverTcp() bool + func (x *ClientConfig) GetUdpOverTcpVersion() uint32 + func (x *ClientConfig) ProtoReflect() protoreflect.Message + func (x *ClientConfig) Reset() + func (x *ClientConfig) String() string + type Inbound struct + func NewServer(ctx context.Context, config *ServerConfig) (*Inbound, error) + func (i *Inbound) Network() []net.Network + func (i *Inbound) NewConnection(ctx context.Context, conn net.Conn, metadata M.Metadata) error + func (i *Inbound) NewError(ctx context.Context, err error) + func (i *Inbound) NewPacketConnection(ctx context.Context, conn N.PacketConn, metadata M.Metadata) error + func (i *Inbound) Process(ctx context.Context, network net.Network, connection stat.Connection, ...) error + type MemoryAccount struct + Key string + func (a *MemoryAccount) Equals(another protocol.Account) bool + func (a *MemoryAccount) ToProto() proto.Message + type MultiUserInbound struct + func NewMultiServer(ctx context.Context, config *MultiUserServerConfig) (*MultiUserInbound, error) + func (i *MultiUserInbound) AddUser(ctx context.Context, u *protocol.MemoryUser) error + func (i *MultiUserInbound) GetUser(ctx context.Context, email string) *protocol.MemoryUser + func (i *MultiUserInbound) GetUsers(ctx context.Context) []*protocol.MemoryUser + func (i *MultiUserInbound) GetUsersCount(context.Context) int64 + func (i *MultiUserInbound) Network() []net.Network + func (i *MultiUserInbound) NewConnection(ctx context.Context, conn net.Conn, metadata M.Metadata) error + func (i *MultiUserInbound) NewError(ctx context.Context, err error) + func (i *MultiUserInbound) NewPacketConnection(ctx context.Context, conn N.PacketConn, metadata M.Metadata) error + func (i *MultiUserInbound) Process(ctx context.Context, network net.Network, connection stat.Connection, ...) error + func (i *MultiUserInbound) RemoveUser(ctx context.Context, email string) error + type MultiUserServerConfig struct + Key string + Method string + Network []net.Network + Users []*protocol.User + func (*MultiUserServerConfig) Descriptor() ([]byte, []int) + func (*MultiUserServerConfig) ProtoMessage() + func (x *MultiUserServerConfig) GetKey() string + func (x *MultiUserServerConfig) GetMethod() string + func (x *MultiUserServerConfig) GetNetwork() []net.Network + func (x *MultiUserServerConfig) GetUsers() []*protocol.User + func (x *MultiUserServerConfig) ProtoReflect() protoreflect.Message + func (x *MultiUserServerConfig) Reset() + func (x *MultiUserServerConfig) String() string + type Outbound struct + func NewClient(ctx context.Context, config *ClientConfig) (*Outbound, error) + func (o *Outbound) Process(ctx context.Context, link *transport.Link, dialer internet.Dialer) error + type RelayDestination struct + Address *net.IPOrDomain + Email string + Key string + Level int32 + Port uint32 + func (*RelayDestination) Descriptor() ([]byte, []int) + func (*RelayDestination) ProtoMessage() + func (x *RelayDestination) GetAddress() *net.IPOrDomain + func (x *RelayDestination) GetEmail() string + func (x *RelayDestination) GetKey() string + func (x *RelayDestination) GetLevel() int32 + func (x *RelayDestination) GetPort() uint32 + func (x *RelayDestination) ProtoReflect() protoreflect.Message + func (x *RelayDestination) Reset() + func (x *RelayDestination) String() string + type RelayInbound struct + func NewRelayServer(ctx context.Context, config *RelayServerConfig) (*RelayInbound, error) + func (i *RelayInbound) Network() []net.Network + func (i *RelayInbound) NewConnection(ctx context.Context, conn net.Conn, metadata M.Metadata) error + func (i *RelayInbound) NewError(ctx context.Context, err error) + func (i *RelayInbound) NewPacketConnection(ctx context.Context, conn N.PacketConn, metadata M.Metadata) error + func (i *RelayInbound) Process(ctx context.Context, network net.Network, connection stat.Connection, ...) error + type RelayServerConfig struct + Destinations []*RelayDestination + Key string + Method string + Network []net.Network + func (*RelayServerConfig) Descriptor() ([]byte, []int) + func (*RelayServerConfig) ProtoMessage() + func (x *RelayServerConfig) GetDestinations() []*RelayDestination + func (x *RelayServerConfig) GetKey() string + func (x *RelayServerConfig) GetMethod() string + func (x *RelayServerConfig) GetNetwork() []net.Network + func (x *RelayServerConfig) ProtoReflect() protoreflect.Message + func (x *RelayServerConfig) Reset() + func (x *RelayServerConfig) String() string + type ServerConfig struct + Email string + Key string + Level int32 + Method string + Network []net.Network + func (*ServerConfig) Descriptor() ([]byte, []int) + func (*ServerConfig) ProtoMessage() + func (x *ServerConfig) GetEmail() string + func (x *ServerConfig) GetKey() string + func (x *ServerConfig) GetLevel() int32 + func (x *ServerConfig) GetMethod() string + func (x *ServerConfig) GetNetwork() []net.Network + func (x *ServerConfig) ProtoReflect() protoreflect.Message + func (x *ServerConfig) Reset() + func (x *ServerConfig) String() string Other modules containing this package github.com/morooi/xray-core