api

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(deps *Dependencies) *chi.Mux

NewRouter creates and configures the main application router

Types

type Dependencies

type Dependencies struct {
	Config              *config.AppConfig
	DB                  *sql.DB
	AuthService         *auth.Service
	InstanceStore       *models.InstanceStore
	ClientPool          *qbittorrent.ClientPool
	SyncManager         *qbittorrent.SyncManager
	WebHandler          *web.Handler
	ThemeLicenseService *services.ThemeLicenseService
	MetricsManager      *metrics.Manager
}

Dependencies holds all the dependencies needed for the API

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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