redact_utils

package
v0.1.54 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Redact

func Redact(s string) string

func RedactJSONWithPrefix added in v0.1.45

func RedactJSONWithPrefix(ctx context.Context, s []byte, paths ...string) []byte

func RedactLongStrings added in v0.1.49

func RedactLongStrings(s []byte) []byte

func RedactWithPrefix

func RedactWithPrefix(s string) string

func RedactWithPrefixSized added in v0.1.52

func RedactWithPrefixSized(s string, maxLen int) string

func Trim added in v0.1.22

func Trim(s string) string

func TrimSized added in v0.1.52

func TrimSized(s string, maxLen int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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