attack

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResult

func NewResult() *result

func NewTask added in v0.0.6

func NewTask() *task

Types

type IAttack

type IAttack[in, out any] interface {
	Attack(in) (out, error)
}

type Input

type Input interface {
	GetTask() *types.Task
	SetTask(task *types.Task) error
}

type Output

type Output interface {
	GetResult() *types.Result
	SetResult(result *types.Result) error
}

type Plugin

type Plugin interface {
	Name() string
	Attack(Input) error
}

Jump to

Keyboard shortcuts

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