mutators

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListAvailableMutators

func ListAvailableMutators() []string

func ListAvailableMutatorsByCategoryWithDescriptions added in v0.9.7

func ListAvailableMutatorsByCategoryWithDescriptions() map[string][]string

func Register added in v0.9.8

func Register(name string, factory Factory) error

func Run added in v0.9.5

func Run(mutatorName, input string) string

Types

type Factory added in v0.9.8

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

type GenericMutator added in v0.9.8

type GenericMutator struct {
	Mu     sync.Mutex
	Logger *log.Logger

	Started bool
	Waited  bool
	Done    chan struct{}
}

func NewGeneric added in v0.9.8

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