Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveAlerts ¶
type ActiveAlerts struct { ActiveAlerts xml.Name `xml:"activeAlerts"` TimeStamp string `xml:"timeStamp,attr"` Events []Event `xml:"event"` }
func Decode ¶
func Decode(b []byte) ActiveAlerts
type Event ¶
type Event struct { Event xml.Name `xml:"event"` Title string `xml:"title"` Desc string `xml:"desc"` Station string `xml:"station"` Dispatch string `xml:"dispatch"` Lat string `xml:"lat"` Lng string `xml:"lng"` Postal string `xml:"postal"` Neighborhood string `xml:"neighborhood"` Address string `xml:"address"` PubDate string `xml:"pubDate"` }
Click to show internal directories.
Click to hide internal directories.