Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Logger is the slog logger. Required.
Logger *slog.Logger
// Static is the SPA bundle FS (typically the embedded dist/).
Static fs.FS
// Projects backs project file IO.
Projects project.Store
// Compiler orchestrates microVM compile jobs.
Compiler *compile.Service
// Auth validates OIDC bearers. nil = dev mode (auth disabled,
// every request gets a synthetic identity).
Auth auth.Verifier
}
Options bundles everything the server needs to boot.
Click to show internal directories.
Click to hide internal directories.