Documentation ¶
Overview ¶
Package secret contains a struct to store secrets in that won't accidentally let them be logged.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type String ¶
type String string
func (String) MarshalJSON ¶
func (String) Value
deprecated
Value returns the sensitive value as a string for database (https://github.com/jackc/pgx) use.
Deprecated: this exists for automatic database integration with secret values. Use Raw instead for general purpose secret handling.
Click to show internal directories.
Click to hide internal directories.