Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
func Factory(conf model.MaskFactoryConfiguration) (model.MaskEngine, bool, error)
Factory create a mask from a configuration
Types ¶
type MaskEngine ¶
type MaskEngine struct {
// contains filtered or unexported fields
}
MaskEngine is a value that always mask the same way
func NewMask ¶
func NewMask(seed int64, caches map[string]model.Cache, fns template.FuncMap, uri string) (MaskEngine, error)
NewMask return a MaskEngine from a value
func (MaskEngine) Mask ¶
func (me MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Click to show internal directories.
Click to hide internal directories.