Versions in this module Expand all Collapse all v1 v1.8.16 Jul 1, 2024 v1.8.11 Jul 1, 2024 Changes in this version + var File_transport_internet_reality_config_proto protoreflect.FileDescriptor + func KeyLogWriterFromConfig(c *Config) io.Writer + func Server(c net.Conn, config *reality.Config) (net.Conn, error) + func UClient(c net.Conn, config *Config, ctx context.Context, dest net.Destination) (net.Conn, error) + type Config struct + Dest string + Fingerprint string + MasterKeyLog string + MaxClientVer []byte + MaxTimeDiff uint64 + MinClientVer []byte + PrivateKey []byte + PublicKey []byte + ServerName string + ServerNames []string + ShortId []byte + ShortIds [][]byte + Show bool + SpiderX string + SpiderY []int64 + Type string + Xver uint64 + func ConfigFromStreamSettings(settings *internet.MemoryStreamConfig) *Config + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (c *Config) GetREALITYConfig() *reality.Config + func (x *Config) GetDest() string + func (x *Config) GetFingerprint() string + func (x *Config) GetMasterKeyLog() string + func (x *Config) GetMaxClientVer() []byte + func (x *Config) GetMaxTimeDiff() uint64 + func (x *Config) GetMinClientVer() []byte + func (x *Config) GetPrivateKey() []byte + func (x *Config) GetPublicKey() []byte + func (x *Config) GetServerName() string + func (x *Config) GetServerNames() []string + func (x *Config) GetShortId() []byte + func (x *Config) GetShortIds() [][]byte + func (x *Config) GetShow() bool + func (x *Config) GetSpiderX() string + func (x *Config) GetSpiderY() []int64 + func (x *Config) GetType() string + func (x *Config) GetXver() uint64 + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type Conn struct + func (c *Conn) HandshakeAddress() net.Address + type UConn struct + AuthKey []byte + ServerName string + Verified bool + func (c *UConn) HandshakeAddress() net.Address + func (c *UConn) VerifyPeerCertificate(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error