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.
Click to show internal directories.
Click to hide internal directories.