Versions in this module Expand all Collapse all v1 v1.0.10 Sep 6, 2026 v1.0.9 Sep 6, 2026 Changes in this version + type Config struct + AppEnv string + AssetRoute string + CacheConfig cache.CacheConfig + ClientAppPath string + FrontendDir string + GeneratedTypesPath string + Generators []Generator + HotReloadServerPort int + IsDev bool + JSRuntimePoolSize int + LayoutCSSFilePath string + LayoutFilePath string + PropsStructsPath string + SPAHydrationMode string + StaticJSDir string + TailwindConfigPath string + func (c *Config) Validate() error + type Engine struct + Cache cache.Cache + CachedClientSPAJS string + CachedLayoutCSSFilePath string + CachedServerSPACSS string + CachedServerSPAJS string + Config *Config + HotReload *HotReload + Logger *slog.Logger + RuntimePool *jsruntime.Pool + func New(config Config) (*Engine, error) + func (engine *Engine) BuildLayoutCSSFile() error + func (engine *Engine) IsProduction() bool + func (engine *Engine) RenderRoute(renderConfig RenderConfig) []byte + func (engine *Engine) Shutdown(ctx context.Context) error + type Generator interface + Generate func(config *Config) error + type HotReload struct + func (hr *HotReload) Start() + type RenderConfig struct + File string + MetaTags map[string]string + Props interface{} + RequestPath string + Title string