mutators

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 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 ListAvailableAliases added in v1.11.0

func ListAvailableAliases() ([]string, map[string][]string)

func ListAvailableMutators

func ListAvailableMutators(category string) []string

func RegisterAlias added in v1.11.0

func RegisterAlias(name string, alias string) error

func RegisterFactory added in v1.11.0

func RegisterFactory(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, args []string) (Mutator, error)
	Name() string
	Description() string
	Category() string
}

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(fullName string) (Mutator, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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