middleware

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMiddleware

func RegisterMiddleware(m Middleware, conf *scheduler.Config)

RegisterMiddleware takes in a middleware and registers it by modifying the passed config.

Types

type Hooks

type Hooks struct {
	StrategyHooks strategy.StrategyMiddleware
	DBHooks       dbms.DBMiddleware
}

Hooks holds all possible hooks which are called by the middleware while fuzzing.

type Middleware

type Middleware interface {
	// Get the struct of hooks to register
	Hooks() Hooks
}

Directories

Path Synopsis
Package exporter provides a prometheus exporter for monitoring dinkel.
Package exporter provides a prometheus exporter for monitoring dinkel.

Jump to

Keyboard shortcuts

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