api

package
v0.0.0-...-4a3d204 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(db *pgxpool.Pool, logger *zap.Logger) *chi.Mux

NewRouter returns just the chi.Mux for backward compatibility.

Types

type App

type App struct {
	Router        *chi.Mux
	Tuner         *service.TunerService
	Expirer       *service.ExpirerService
	Decay         *service.DecayService
	Consolidation *service.ConsolidationService
	Learning      *service.LearningService
	// contains filtered or unexported fields
}

App holds the router and background services for lifecycle management.

func NewApp

func NewApp(db *pgxpool.Pool, logger *zap.Logger) *App

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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