avpcompat

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsPlaceholder

func ContainsPlaceholder(value string) bool

ContainsPlaceholder reports whether value contains a supported AVP placeholder.

func ReplaceString

func ReplaceString(value string) (string, bool)

ReplaceString replaces supported AVP placeholders with stable redacted values.

func ReplaceStringWithPath added in v0.1.19

func ReplaceStringWithPath(value string, defaultPath string) (string, bool)

ReplaceStringWithPath replaces inline path placeholders and annotation-scoped generic placeholders with stable redacted values.

func ReplaceValue

func ReplaceValue(value any) (any, bool)

ReplaceValue replaces supported AVP placeholders through decoded YAML/JSON values.

func ReplaceValueWithPath added in v0.1.19

func ReplaceValueWithPath(value any, defaultPath string) (any, bool)

ReplaceValueWithPath replaces supported AVP placeholders through decoded YAML/JSON values, including generic placeholders scoped to an AVP path annotation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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