infra

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Initializer

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

Initializer holds all components that need to be started and stopped.

func NewInitializer

func NewInitializer(
	httpServer *server.HTTPServer,
	dbPool *pgxpool.Pool,
) *Initializer

NewInitializer creates a new initializer with all required components.

func (*Initializer) Run

func (i *Initializer) Run() error

Run starts all services and waits for shutdown signal.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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