generic

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generic

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

generic engine as name suggests is a generic template execution engine and executes all requests one after another without any logic in between

func NewGenericEngine

func NewGenericEngine(requests []protocols.Request, options *protocols.ExecutorOptions, results *atomic.Bool) *Generic

NewGenericEngine creates a new generic engine from a list of requests

func (*Generic) Compile

func (g *Generic) Compile() error

Compile engine specific compilation

func (*Generic) ExecuteWithResults

func (g *Generic) ExecuteWithResults(ctx *scan.ScanContext) error

ExecuteWithResults executes the template and returns results

func (*Generic) Name

func (g *Generic) Name() string

Type returns the type of engine

Jump to

Keyboard shortcuts

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