_test

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	PathTmpDir    string   // Path to folder used by unit tests to create temporary files and test output
	PathDataDir   string   // Path to sample data used by unit tests
	PathSslyze    string   // Path to the Sslyze executable, which one to use during unit tests
	PathNmapDir   string   // Path to the Nmap executable, which one to use during unit tests
	PathNmap      string   // Path to the Nmap executable, which one to use during unit tests
	HttpUserAgent string   // HTTP user agent to use during unit tests
	HttpProxy     *url.URL // HTTP Proxy to use during unit tests
	LdapUser      string   // Username to query Active Directory with
	LdapPassword  string   // Password to query Active Directory with
}

Settings holds all necessary unittest settings

func GetSettings

func GetSettings() (*Settings, error)

Jump to

Keyboard shortcuts

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