app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package app wires the gateway's components and runs the HTTP server and delivery worker until the context is cancelled.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg config.Config, logger *slog.Logger) error

Run builds the gateway from cfg and blocks until ctx is cancelled, then shuts down gracefully.

Types

This section is empty.

Jump to

Keyboard shortcuts

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