sample

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

Command returns the "sample" subcommand.

func GenerateLegacy

func GenerateLegacy(random bool) map[string]any

GenerateLegacy returns a CSP report in the legacy csp-report format.

func GenerateModern

func GenerateModern(random bool) map[string]any

GenerateModern returns a CSP report in the modern Reporting API format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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