feat: publish standalone worker

Separate worker packaging and service lifecycle from the control plane.
Этот коммит содержится в:
Gleb Tv
2026-07-13 17:55:14 +03:00
Коммит 2c7a0236da
309 изменённых файлов: 44004 добавлений и 0 удалений

11
internal/webapp/metrics_other.go Обычный файл
Просмотреть файл

@@ -0,0 +1,11 @@
//go:build !linux
package webapp
// statDisk is a no-op on non-Linux platforms. The webapp MVP targets
// Linux workers (the proc/sysfs data sources only exist there); the
// build tag keeps the package compilable on a developer Mac for
// quick template/handler iteration.
func statDisk(_ string, _ *DiskSample) error {
return nil
}