package
0.10.1
Repository: https://github.com/netways/support-collector.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
New returns a basic Obfuscator with provided regexp.Regexp.
NewAny returns an Obfuscator that can be used to replace any input.
No description provided by the author
No description provided by the author
NewFile returns an Obfuscator and will initialize regexp.Regexp based on extension and a string for replacement.
NewOutput returns an Obfuscator and will initialize regexp.Regexp based on command and replacement.
NewRegexpKeyValue builds an regexp.Regexp to match multiple key-value kinds.
ReplacePattern replaces all matches in a line.
ReplacePatterns replaces all the patterns matches in a line.

# Constants

KindAny allows to obfuscate content in any resource.
KindFile declares a file resource.
KindOutput declares an output resource, e.g.
Replacement is the standard replacement used during obfuscation.

# Structs

Obfuscator provides the basic functionality of an obfuscation engine.

# Type aliases

Kind is used by Obfuscator to identify the kind of content to obfuscate.