middleware

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 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 added in v0.6.0

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