Documentation
¶
Overview ¶
Package dburl recognises and redacts database connection URLs. It is the one implementation behind config.Database.Redacted (logs, the admin config API) and the store's own logging, so a password is masked the same way everywhere whatever characters it holds.
Index ¶
Constants ¶
View Source
const Mask = "xxxxx"
Mask replaces a removed password.
Variables ¶
This section is empty.
Functions ¶
func IsPostgres ¶
IsPostgres reports whether v is a postgres:// or postgresql:// URL.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.