Documentation ¶
Index ¶
- func GetJsonSchema() (string, error)
- func InjectMasks()
- func ParseXML(input io.Reader, output io.Writer) *xixo.XMLParser
- func Play(enableSecurity bool) *echo.Echo
- func ToRequest(dict model.Dictionary) (*http.Request, error)
- func ToResponse(dict model.Dictionary) (*http.Response, error)
- func XMLCallback(ctx Context, xmlList map[string]string) (map[string]string, error)
- type CachedMaskEngineFactories
- type Config
- type Context
- type RequestDict
- type ResponseDict
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJsonSchema ¶ added in v1.6.0
func InjectMasks ¶ added in v1.28.0
func InjectMasks()
func ToResponse ¶ added in v1.28.0
func ToResponse(dict model.Dictionary) (*http.Response, 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) Execute ¶ added in v1.12.0
func (ctx *Context) Execute(out io.Writer) (statistics.ExecutionStats, 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)
Click to show internal directories.
Click to hide internal directories.