types

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrontendConfig

type FrontendConfig struct {
	Host             string
	Port             int
	SiteName         string
	Debug            bool
	Pprof            bool
	Minify           bool
	DisableTxMetrics bool
	DisableAuditLogs bool
	DisablePluginAPI bool

	// AuthProviderURL is the canonical URL of a remote authenticatoor
	// service. When empty, the API runs unauthenticated; when set, all
	// protected endpoints require a JWT verified against the service's
	// JWKS, and the layout template injects window.spamoorConfig +
	// loads <url>/client.js so the frontend can drive login.
	AuthProviderURL string
}

Jump to

Keyboard shortcuts

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