feat: complete Task 7 - end-to-end integration and full test suite
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user