1
1
mirror of https://github.com/OJ/gobuster.git synced 2024-09-18 11:01:34 +02:00
gobuster/libgobuster/interfaces.go
Christian Mehlmauer ba619dd1be
3.6
2023-08-14 10:17:02 +02:00

18 lines
426 B
Go

package libgobuster
import "context"
// GobusterPlugin is an interface which plugins must implement
type GobusterPlugin interface {
Name() string
PreRun(context.Context, *Progress) error
ProcessWord(context.Context, string, *Progress) error
AdditionalWords(string) []string
GetConfigString() (string, error)
}
// Result is an interface for the Result object
type Result interface {
ResultToString() (string, error)
}