Migrated from app/dashboard.go: - Dashboard struct with DB connection and stats caching - DashboardStats, TLDStat, RecentFeed, DomainStat types - Stats calculation methods (collectDomainStats, collectFeedStats) - Background stats update loop Note: Runtime rates (domains/min, etc.) not available in standalone dashboard - these are crawler-specific metrics. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
490 B
Modula-2
18 lines
490 B
Modula-2
module github.com/1440news/dashboard
|
|
|
|
go 1.24.0
|
|
|
|
require github.com/1440news/shared v0.0.0
|
|
|
|
require (
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
github.com/jackc/pgx/v5 v5.7.5 // indirect
|
|
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
|
golang.org/x/crypto v0.47.0 // indirect
|
|
golang.org/x/sync v0.19.0 // indirect
|
|
golang.org/x/text v0.33.0 // indirect
|
|
)
|
|
|
|
replace github.com/1440news/shared => ../shared
|