Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2024 v1.0.1 Apr 24, 2024 Changes in this version + const RealityMaxShortIDLen + var Fingerprints = map[string]UClientHelloID + func GetGlobalFingerprint() string + func GetRealityConn(ctx context.Context, conn net.Conn, ClientFingerprint string, ...) (net.Conn, error) + func HaveGlobalFingerprint() bool + func SetGlobalUtlsClient(Client string) + type RealityConfig struct + PublicKey *ecdh.PublicKey + ShortID [RealityMaxShortIDLen]byte + type UClientHelloID struct + func GetFingerprint(ClientFingerprint string) (UClientHelloID, bool) + func RollFingerprint() (UClientHelloID, bool) + type UConn struct + func UClient(c net.Conn, config *tls.Config, fingerprint UClientHelloID) *UConn + func (c *UConn) BuildWebsocketHandshakeState() error