Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 2023 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 [curve25519.ScalarSize]byte + 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