app

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package app wires together domain services, adapters, and configuration. It is the single construction point for the application — main.go creates an App, then passes its services to transport layers (MCP, HTTP, CLI).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// Domain services
	Logs         *logs.Service
	Errors       *domainerrors.Service
	Overview     *overview.Service
	Analytics    *analytics.Service
	Watches      *watches.Service
	HealthChecks *healthchecks.Service
	Servers      *servers.Service
	Database     *database.Service
	Code         *code.Service
	Admin        *admin.Service
	Connectors   *domainconnectors.Service
	Setup        *setup.Service
	Auth         *auth.Service
}

App holds all domain services, constructed from store adapters. Pass this to transport layers (MCP, HTTP) so they can call domain logic.

func New

func New(stores store.Stores) *App

New constructs all domain services from the provided stores. This is the single wiring point — add new services here.

Jump to

Keyboard shortcuts

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