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. |
Click to show internal directories.
Click to hide internal directories.