http

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package http assembles the full application dependency graph in pkg/registry and returns the ready-to-use registry for the HTTP server. It is the single authorized wiring point of the HTTP entrypoint — cmd, internal and pkg do not construct dependencies outside of here. Other entrypoints (CLI, MCP, etc.) live in sibling subpackages of bootstrap/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup() (reg *registry.Registry, apiPrefix string)

Setup loads configs, registers primitives, repositories, services and handlers in topological order and returns (registry, apiPrefix). The apiPrefix is propagated directly because the entrypoint needs it to build the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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