weatherfeeder: split the former maximumdirect.net/weatherd project in two.
feedkit now contains a reusable core, while weatherfeeder is a concrete implementation that includes weather-specific functions.
This commit is contained in:
23
internal/model/alert.go
Normal file
23
internal/model/alert.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
// Placeholder for NWS alerts (GeoJSON feature properties are rich).
|
||||
type WeatherAlert struct {
|
||||
ID string
|
||||
|
||||
Event string
|
||||
Headline string
|
||||
Description string
|
||||
Instruction string
|
||||
|
||||
Severity string
|
||||
Urgency string
|
||||
Certainty string
|
||||
|
||||
Sent *time.Time
|
||||
Effective *time.Time
|
||||
Expires *time.Time
|
||||
|
||||
Areas []string
|
||||
}
|
||||
Reference in New Issue
Block a user