pimo

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 55 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJsonSchema added in v1.6.0

func GetJsonSchema() (string, error)

func ParseXML added in v1.20.0

func ParseXML(input io.Reader, output io.Writer) *xixo.XMLParser

func Play added in v1.12.0

func Play(enableSecurity bool) *echo.Echo

func XMLCallback added in v1.22.0

func XMLCallback(ctx Context, xmlList map[string]string) (map[string]string, error)

Types

type CachedMaskEngineFactories

type CachedMaskEngineFactories func(model.MaskEngine) model.MaskEngine

type Config added in v1.12.0

type Config struct {
	SingleInput      *model.Dictionary
	EmptyInput       bool
	RepeatUntil      string
	RepeatWhile      string
	Iteration        int
	SkipLineOnError  bool
	SkipFieldOnError bool
	SkipLogFile      string
	CachesToDump     map[string]string
	CachesToLoad     map[string]string
	XMLCallback      bool
}

type Context added in v1.12.0

type Context struct {
	// contains filtered or unexported fields
}

func NewContext added in v1.12.0

func NewContext(pdef model.Definition) Context

func (*Context) Configure added in v1.12.0

func (ctx *Context) Configure(cfg Config) error

func (*Context) Execute added in v1.12.0

func (ctx *Context) Execute(out io.Writer) (statistics.ExecutionStats, error)

func (*Context) ExecuteMap added in v1.20.0

func (ctx *Context) ExecuteMap(data map[string]any) (map[string]any, error)

Jump to

Keyboard shortcuts

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