masker

package
v0.2.119 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaskPhone     = maskRule{/* contains filtered or unexported fields */}
	MaskIPv4      = maskRule{/* contains filtered or unexported fields */}
	MaskEmail     = maskRule{/* contains filtered or unexported fields */}
	MaskTelephone = maskRule{/* contains filtered or unexported fields */}
	Password      = maskRule{/* contains filtered or unexported fields */}
	IDCard        = maskRule{/* contains filtered or unexported fields */}
	BankCard      = maskRule{/* contains filtered or unexported fields */}
	Other         = maskRule{/* contains filtered or unexported fields */}
)

Functions

func MaskString

func MaskString(in string, maskType MaskType) string

Types

type MaskType

type MaskType interface {
	MaskType() string
}

Jump to

Keyboard shortcuts

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