api

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 46 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(cfg RouterConfig) http.Handler

NewRouter builds and returns the application HTTP handler.

Types

type RouterConfig

type RouterConfig struct {
	Auth                     config.Secret
	Logger                   *slog.Logger
	StartTime                time.Time
	DB                       *sql.DB
	DBType                   string
	DBPath                   string
	ConfigFile               string
	TMDBKeyIsDefault         bool
	QualityService           *quality.Service
	QualityDefinitionService *quality.DefinitionService
	LibraryService           *library.Service
	MovieService             *movie.Service
	TMDBClient               *tmdb.Client
	IndexerService           *indexer.Service
	DownloaderService        *downloader.Service
	BlocklistService         *blocklist.Service
	QueueService             *queue.Service
	Scheduler                *scheduler.Scheduler
	NotificationService      *notification.Service
	HealthService            *health.Service
	MediaManagementService   *mediamanagement.Service
	DownloadHandlingService  *downloadhandling.Service
	RadarrImportService      *radarrimport.Service
	StatsService             *stats.Service
	MediaInfoService         *mediainfo.Service
	CollectionService        *collection.Service
	MediaServerService       *mediaserver.Service
	PlexSyncService          *plexsync.Service
	TagService               *tag.Service
	CustomFormatService      *customformat.Service
	AutoSearchService        *autosearch.Service
	AICommandService         *aicommand.Service
	ActivityService          *activity.Service
	WatchSyncService         *watchsync.Service
	ImportListService        *importlist.Service
	ImporterService          *importer.Service
	ProviderResolver         *provider.Resolver
	LogSystem                *beaconlog.System
	DockerLogs               *beaconlog.DockerLogsReader
	WSHub                    *ws.Hub
	Bus                      *events.Bus
	PulseSyncHandler         http.HandlerFunc
}

RouterConfig holds everything the router needs to function.

Directories

Path Synopsis
Package v3 provides a Radarr v3 API compatibility layer.
Package v3 provides a Radarr v3 API compatibility layer.
Package ws implements a WebSocket hub that bridges the internal event bus to connected browser clients.
Package ws implements a WebSocket hub that bridges the internal event bus to connected browser clients.

Jump to

Keyboard shortcuts

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