Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertV2 ¶
type AlertV2 struct { ID string `json:"id"` Type string `json:"type"` Geometry *geojson_v2.Geometry `json:"geometry"` AreaDesc string `json:"areaDesc"` Geocode *AlertPropertiesGeocodeV2 `json:"geocode"` AffectedZones []string `json:"affectedZones"` References []string `json:"references"` Sent time.Time `json:"sent"` Effective time.Time `json:"effective"` Onset time.Time `json:"onset"` Expires time.Time `json:"expires"` Ends time.Time `json:"ends"` Status string `json:"status"` MessageType string `json:"messageType"` Category string `json:"category"` Severity string `json:"severity"` Certainty string `json:"certainty"` Urgency string `json:"urgency"` Event string `json:"event"` Sender string `json:"sender"` SenderName string `json:"senderName"` Headline string `json:"headline"` Description string `json:"description"` Instruction string `json:"instruction"` Response string `json:"response"` Parameters map[string]interface{} `json:"parameters"` }
type ConvectiveOutlookV2 ¶
type ConvectiveOutlookV2 struct { ID string `json:"id"` OutlookType golang.ConvectiveOutlookType `json:"outlookType"` Geometry *geojson_v2.Geometry `json:"geometry"` DN int `json:"dn"` Valid time.Time `json:"valid"` Expires time.Time `json:"expires"` Issued time.Time `json:"issued"` Label string `json:"label"` Label2 string `json:"label2"` Stroke string `json:"stroke"` Fill string `json:"fill"` }
type Location ¶
type Location struct { LocationID string LocationType LocationType LocationReferenceID string ZoneCode string CountyCode string Created time.Time Latitude float64 Longitude float64 LocationName string ConvectiveOutlookOptions []golang.ConvectiveOutlookType AlertOptions []golang.AlertType MesoscaleDiscussionNotifications bool }
type LocationType ¶
type LocationType int8
const ( LocationType_Unknown LocationType = 0 LocationType_UserLocation LocationType = 1 LocationType_DeviceLocaiton LocationType = 2 )
type MesoscaleDiscussionV2 ¶
type MesoscaleDiscussionV2 struct { ID string `json:"id"` Number int `json:"number"` Year int `json:"year"` Geometry *geojson_v2.Geometry `json:"geometry"` RawText string `json:"rawText"` ProbabilityOfWatchIssuance *int `json:"probabilityOfWatchIssuance"` Effective *time.Time `json:"effective"` Expires *time.Time `json:"expires"` }
type NotificationType ¶
type NotificationType string
const ( AlertType NotificationType = "alert" ConvectiveOutlookType NotificationType = "convectiveOutlook" MesoscaleDiscussionType NotificationType = "mesoscaleDiscussion" )
type NotificationUpdateV2 ¶
type NotificationUpdateV2 struct { Id string `json:"id"` NotificationType NotificationType `json:"notificationType"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.