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
}
func NewMask ¶
func NewMask(segment model.SegmentType, caches map[string]model.Cache, fns tmpl.FuncMap, seed int64, seeder model.Seeder, seedField 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.