bodymasking

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMaskNumberTypeError = errors.New("can't mask a number with a string")
	ErrMaskStringTypeError = errors.New("can't mask a string with a number")
)

Functions

func MaskBodyRegex

func MaskBodyRegex(body, mimeType string, stringMasks map[string]string, numberMasks map[string]string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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