server

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config, siteRegistry *siteregistry.Registry) (*http.Server, error)

Types

type Config

type Config struct {
	Address          string
	EngineDB         string
	SitesDir         string
	ReadTimeout      time.Duration
	WriteTimeout     time.Duration
	Version          string
	RuntimeEvents    runtimeevents.Config
	RuntimeEventsDB  string
	RecentEventLimit int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL