package
Version:
v0.1.28
Opens a new window with list of versions in this module.
Published: Jun 29, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package redact provides utilities to mask sensitive information before logging.
DSN returns the DSN string with any credentials masked, suitable for safe logging.
It handles:
- URI-style credentials: quic://user:pass@host → quic://***:***@host
- Query parameter credentials: ?user=x&pass=y → ?user=***&pass=***
Source Files
¶
Click to show internal directories.
Click to hide internal directories.