Help us shape the future of Go! Take the 2026 Go Developer Survey

testutils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunHttpxAndGetCombinedResults

func RunHttpxAndGetCombinedResults(url string, debug bool, extra ...string) (string, error)

RunNucleiAndGetResults returns a list of results for a template

func RunHttpxAndGetResults

func RunHttpxAndGetResults(url string, debug bool, extra ...string) ([]string, error)

RunNucleiAndGetResults returns a list of results for a template

func RunHttpxBinaryAndGetResults

func RunHttpxBinaryAndGetResults(target string, httpxBinary string, debug bool, args []string) ([]string, error)

Types

type TestCase

type TestCase interface {
	// Execute executes a test case and returns any errors if occurred
	Execute() error
}

TestCase is a single integration test case

Jump to

Keyboard shortcuts

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