server

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package server is the HTTP assembly root: it wires the Registry, Database, permission engine, event bus, cache, and Admin UI into the orjanda.Site composition root and starts the Chi HTTP server.

See TAD §12.4 and PRD §12.1 for the full specification. Implemented in Phase 6 (API wiring) and Phase 9 (UI embedding).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assemble

func Assemble(site *orjanda.Site) http.Handler

Assemble returns the composed HTTP handler (API + embedded Admin UI) for the given Site.

func Run

func Run(ctx context.Context, site *orjanda.Site) error

Run starts the HTTP server for site and blocks until context cancellation or error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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