Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SensitiveString ¶
type SensitiveString string
SensitiveString is a custom type for sensitive information, like passwords or tokens. It reduces the risk of leaking sensitive information in logs.
func (SensitiveString) LogValue ¶
func (s SensitiveString) LogValue() slog.Value
func (SensitiveString) MarshalJSON ¶
func (s SensitiveString) MarshalJSON() ([]byte, error)
func (SensitiveString) MarshalYAML ¶
func (s SensitiveString) MarshalYAML() (interface{}, error)
func (SensitiveString) String ¶
func (s SensitiveString) String() string
String implements the fmt.Stringer interface.
func (SensitiveString) UnsafeValue ¶
func (s SensitiveString) UnsafeValue() string
Click to show internal directories.
Click to hide internal directories.