Help us shape the future of Go! Take the 2026 Go Developer Survey

app

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package app wires the database, domain service, HTTP surfaces and the TUI into the running server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg Config) error

Run starts Switchboard and blocks until ctx is cancelled or the TUI exits.

Types

type Config

type Config struct {
	Addr     string
	DBPath   string
	Headless bool
	Open     bool
	LogLevel string
}

Config controls a server run.

Jump to

Keyboard shortcuts

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