defaults

package
v0.1.13 Latest Latest
Warning

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

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

Documentation

Overview

Package defaults holds build-time-injected configuration values. Each variable below is populated by `go build -ldflags "-X …"` in the maintainer's build pipeline. Source builds (no ldflags) leave them empty; in that case the binary runs but uploads to the production ingest fail for lack of credentials, and the fallback POP list is empty.

Index

Constants

This section is empty.

Variables

View Source
var (
	// UploadToken is the bearer token sent in `Authorization: Bearer` on
	// every report upload.
	UploadToken string

	// IngestURL is the report upload endpoint URL.
	IngestURL string

	// ITContactEmail is shown to users on the consent and result screens
	// for support questions.
	ITContactEmail string

	// FallbackPOPsJSON is a JSON-encoded `[]config.POP`. Used when the
	// dynamic POP fetch from the ingest service fails at startup.
	FallbackPOPsJSON string
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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