creds

package
v0.0.0-...-6aec01b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package creds provides common types for wrapping sensitive data in the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnURI

type ConnURI string

ConnURI is URI with sensitive values (e.g. login:password) which shouldn't leak to logs.

func (ConnURI) String

func (u ConnURI) String() string

String converts SecretURI to string.

type Password

type Password string

Password is sensitive value which shouldn't leak to logs.

func (Password) String

func (p Password) String() string

String converts password to string.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL