middleware

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SPAConfig

type SPAConfig struct {
	// Path is the path to the SPA.
	Path string
	// Fs is the file system for the SPA.
	Fs fs.FS
	// ExcludePaths are paths that should not be handled by the SPA (e.g., "/api", "/ws").
	ExcludePaths []string
}

SPAConfig is the configuration for the SPA middleware.

Jump to

Keyboard shortcuts

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