mutators

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailableMutatorsHelp added in v0.9.16

func AvailableMutatorsHelp() string

func ListAvailableMutators

func ListAvailableMutators(category string) []string

func Register

func Register(name string, factory Factory) error

func Run

func Run(mutatorName, input string) string

func TryFuzzySearch added in v1.3.2

func TryFuzzySearch(name string)

Types

type Factory

type Factory interface {
	NewMutator(logger *log.Logger) (Mutator, error)
	Name() string
	Description() string
	Category() string
}

type GenericMutator

type GenericMutator struct {
	Logger  *log.Logger
	Done    chan struct{}
	Mu      sync.Mutex
	Started bool
	Waited  bool
}

func NewGeneric

func NewGeneric(logger *log.Logger) GenericMutator

type Mutator

type Mutator interface {
	Start(w io.WriteCloser, r io.ReadCloser) error
	Wait() error
	Name() string
	Description() string
	Category() string
}

func New

func New(name string) (Mutator, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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