opguard

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const InternetExposureWarning = "do not expose directly to the internet"

Variables

This section is empty.

Functions

func VerifyFileContract

func VerifyFileContract(t *testing.T, contract FileContract)

func VerifyFileContracts

func VerifyFileContracts(t *testing.T, contracts []FileContract)

Types

type FileContract

type FileContract struct {
	Path    string
	Label   string
	Markers []string
	Fold    bool
}

Jump to

Keyboard shortcuts

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