Documentation ¶
Index ¶
Constants ¶
View Source
const ( StartToken = "^" EndToken = "$" )
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
func Factory(conf model.MaskFactoryConfiguration) (model.MaskEngine, bool, error)
Factory create a mask from a yaml config
Types ¶
type FrequencyMap ¶
type MaskEngine ¶
type MaskEngine struct {
// contains filtered or unexported fields
}
func NewMask ¶
func NewMask(seed int64, seeder model.Seeder, name, separator string, maxSize, order int) (MaskEngine, error)
NewMask create a MaskEngine with a seed
func (MaskEngine) Mask ¶
func (mm MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Click to show internal directories.
Click to hide internal directories.