mask

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultMask []byte = []byte("***")

Functions

func SecretWriter

func SecretWriter(m ...SecretStore) *secretWriter

func Writer

func Writer(w io.ReadWriteCloser, maskPlaceholder []byte, secrets ...[]byte) *maskedWriter

Types

type SecretStore

type SecretStore interface {
	AddSecrets(b ...[]byte)
}

Jump to

Keyboard shortcuts

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