pimo

package
v1.28.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: GPL-3.0 Imports: 59 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 InjectMasks added in v1.28.0

func InjectMasks()

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 ToRequest added in v1.28.0

func ToRequest(dict model.Dictionary) (*http.Request, error)

func ToResponse added in v1.28.0

func ToResponse(dict model.Dictionary) (*http.Response, error)

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
	ParquetInput     string
	ParquetOutput    string
}

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)

type RequestDict added in v1.28.0

type RequestDict struct {
	model.Dictionary
}

func NewRequestDict added in v1.28.0

func NewRequestDict(request *http.Request) (RequestDict, error)

func (RequestDict) Body added in v1.28.0

func (r RequestDict) Body() string

func (RequestDict) Method added in v1.28.0

func (r RequestDict) Method() string

func (RequestDict) Protocol added in v1.28.0

func (r RequestDict) Protocol() string

func (RequestDict) URLFragment added in v1.28.0

func (r RequestDict) URLFragment() (string, bool)

func (RequestDict) URLPath added in v1.28.0

func (r RequestDict) URLPath() string

type ResponseDict added in v1.28.0

type ResponseDict struct {
	model.Dictionary
}

func NewResponseDict added in v1.28.0

func NewResponseDict(response *http.Response) (ResponseDict, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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