Documentation
¶
Index ¶
Constants ¶
View Source
const RedactedValue = "[REDACTED]"
Variables ¶
This section is empty.
Functions ¶
func ErrorMessage ¶
ErrorMessage scrubs known secret patterns from error strings before telemetry export.
func SafeJWTClaimsForLog ¶
SafeJWTClaimsForLog returns an allowlisted subset of JWT claims safe for debug logging.
func URL ¶
URL returns a version of rawURL with credentials masked to avoid leaking secrets that may be embedded in RPC or asset URLs. For example, "https://rpc.example.com/v1/my-secret-key" becomes "https://rpc.example.com/v1/***".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.