app

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Overview

Package app provides the application composition root and lifecycle management. It wires all dependencies and provides the main entry point for running the server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App holds the application state and dependencies.

func New

func New(cfg *config.Config) (*App, error)

New creates a new App with all dependencies initialized.

func (*App) Close

func (app *App) Close()

Close cleans up application resources.

func (*App) Run

func (app *App) Run() error

Run starts the application server and blocks until shutdown.

func (*App) Test

func (app *App) Test(req *http.Request) (*http.Response, error)

Test processes an HTTP request through the Fiber app and returns the response.

Directories

Path Synopsis
Package health provides health check logic for the outtake server.
Package health provides health check logic for the outtake server.

Jump to

Keyboard shortcuts

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