Documentation
¶
Overview ¶
The spa package is experimental. The API will most likely change
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
IndexFile string
IndexTemplate *template.Template
IndexDataFn IndexDataFn
IndexRoute string
IndexCacheHeader string
AssetFS fs.FS
AssetFSPrefix string
AssetPrefixes []string
AssetCacheHeader string
NotFoundPrefixes []string
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(opts *HandlerOpts) *Handler
type HandlerOpts ¶
Click to show internal directories.
Click to hide internal directories.