14 lines
370 B
Go
14 lines
370 B
Go
package handler
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
|
|
"git.intra.yksa.space/gsn/predictor/internal/pkg/ds"
|
|
)
|
|
|
|
type Service interface {
|
|
UpdateWeatherData(ctx context.Context) error
|
|
ExtractWind(ctx context.Context, lat, lon, alt float64, ts time.Time) ([2]float64, error)
|
|
PerformPrediction(ctx context.Context, params ds.PredictionParameters) ([]ds.PredicitonResult, error)
|
|
}
|