feat: complete Task 7 - end-to-end integration and full test suite

This commit is contained in:
2026-08-13 21:01:53 +03:00
parent 6f69da0761
commit 2101362d31
9 changed files with 635 additions and 27 deletions

View File

@@ -12,9 +12,9 @@ import (
// StationMonitor tracks the status and consecutive zero-trip days for a station.
type StationMonitor struct {
ID string
Yandex *yandex.Client
Cache cache.Cache
ID string
Yandex *yandex.Client
Cache cache.Cache
// ScheduleFunc is the function used to check a station's schedule.
// Defaults to checkStationSchedule if not set.
@@ -166,4 +166,4 @@ func ProcessAllStations(ctx context.Context, monitors []*StationMonitor) error {
}
}
return nil
}
}