Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert struct { ID string `json:"id"` Type string `json:"type"` Geometry *geojson.Geometry `json:"geometry"` Properties AlertProperties `json:"properties"` }
func (*Alert) GetListOfZones ¶
type AlertProperties ¶
type AlertProperties struct { AtID string `json:"@id"` Type string `json:"@type"` ID string `json:"id"` AreaDesc string `json:"areaDesc"` Geocode *AlertPropertiesGeocode `json:"geocode"` AffectedZones []string `json:"affectedZones"` References []*AlertPropertiesReferences `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 AlertPropertiesParameters `json:"parameters"` }
type AlertPropertiesGeocode ¶
type AlertPropertiesParameters ¶
type AlertPropertiesParameters struct { AWIPSIdentifier []string `json:"AWIPSidentifier"` WMOIdentifier []string `json:"WMOidentifier"` NWSHeadline []string `json:"NWSheadline"` BlockChannel []string `json:"BLOCKCHANNEL"` VTEC []string `json:"VTEC"` ExpiredReferences []string `json:"expiredReferences"` }
type ConvectiveOutlook ¶
type ConvectiveOutlook struct { Type string `json:"type"` PublishedTime time.Time `json:"publishedTime"` OutlookType golang.ConvectiveOutlookType `json:"outlookType"` Features []ConvectiveOutlookFeature `json:"features"` }
type ConvectiveOutlookFeature ¶
type ConvectiveOutlookFeature struct { Type string `json:"type"` Geometry *geojson.Geometry `json:"geometry"` Properties ConvectiveOutlookFeatureProperties `json:"properties"` }
type MesoscaleDiscussion ¶
type NotificationUpdate ¶
type NotificationUpdate struct { Alert *Alert `json:"alert,omitempty"` ConvectiveOutlook *ConvectiveOutlook `json:"convectiveOutlook,omitempty"` MesoscaleDiscussion *MesoscaleDiscussion `json:"mesoscaleDiscussion,omitempty"` }
type UserNotification ¶
type UserNotification struct { NotificationId string `json:"notificationId"` UserID string `json:"userid"` ZoneCode string `json:"zonecode"` CountyCode string `json:"countycode"` CreationTime time.Time `json:"creationtime"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` FormattedAddress string `json:"formattedaddress"` APNKey string `json:"apnKey"` LocationName string `json:"locationName"` ConvectiveOutlookOptions []golang.ConvectiveOutlookType `json:"convectiveOutlookOptions"` AlertOptions []golang.AlertType `json:"alertOptions"` MesoscaleDiscussionNotifications bool `json:"mesoscaleDiscussionNotifications"` LiveActivities bool `json:"liveActivities"` }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.