Versions in this module Expand all Collapse all v0 v0.5.0 Jul 13, 2025 Changes in this version type Config + EnableCache bool + OnlyPrebuild bool + Prebuild bool + PrebuildParallel int + RoutesDir string type EmbedConfig + EnableCache bool + RoutesDir string v0.4.1 Jul 11, 2025 Changes in this version type Config + EnableGzip bool + GzipLevel int type EmbedConfig + EnableGzip bool + GzipLevel int v0.4.0 Jul 10, 2025 v0.3.2 Jul 1, 2025 v0.3.1 Jun 30, 2025 Changes in this version + var DefaultFactory = NewFactory() + var DefaultLauncher = NewLauncher() + type Config struct + Daemon bool + LogFile string + Port int + Root string + Version string + func NewConfig() *Config + func (c *Config) Validate() error + type ConfigError struct + Err error + Message string + func (e ConfigError) Error() string + type EmbedConfig struct + EmbedFS fs.FS + Port int + Version string + func NewEmbedConfig(embedFS fs.FS) *EmbedConfig + func (c *EmbedConfig) Validate() error + type Factory struct + func NewFactory() *Factory + func (f *Factory) CreateEmbeddedServer(config *EmbedConfig) (*redi.Server, error) + func (f *Factory) CreateServer(config *Config) (*redi.Server, error) + func (f *Factory) CreateServerFromFS(embedFS fs.FS, port int, version string) (*redi.Server, error) + func (f *Factory) CreateServerFromRoot(root string, port int, version string) (*redi.Server, error) + type Launcher struct + func NewLauncher() *Launcher + func (l *Launcher) Start(config *Config) error + func (l *Launcher) StartEmbedded(server *redi.Server) error + func (l *Launcher) StartSimple(root string, port int, version string) error