masker

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 4 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 */}
)

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