Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFileToCAP ¶ added in v1.1.2
func WriteCAPToFile ¶ added in v1.1.2
Types ¶
type Alert ¶
type Alert struct { XMLName xml.Name `xml:"alert"` Xmlns *string `xml:"xmlns,attr"` Identifier *string `xml:"identifier"` Sender *string `xml:"sender"` Sent *string `xml:"sent"` Status *string `xml:"status"` MsgType *string `xml:"msgType"` Source *string `xml:"source"` Scope *string `xml:"scope"` Restriction *string `xml:"restriction"` Addresses *Addresses `xml:"addresses"` Codes *[]string `xml:"code"` Note *Note `xml:"note"` References *string `xml:"references"` Incidents *string `xml:"incidents"` Infos *[]Info `xml:"info"` }
type Info ¶
type Info struct { XMLName xml.Name `xml:"info"` Language *string `xml:"language"` Category *[]string `xml:"category"` Event *string `xml:"event"` ResponsesType *[]string `xml:"responseType"` Urgency *string `xml:"urgency"` Severity *string `xml:"severity"` Certainty *string `xml:"certainty"` Audience *string `xml:"audience"` EventCode *[]EventCode `xml:"eventCode"` Effective *string `xml:"effective"` Onset *string `xml:"onset"` Expires *string `xml:"expires"` SenderName *string `xml:"senderName"` Headline *string `xml:"headline"` Description *string `xml:"description"` Instruction *string `xml:"instruction"` Web *string `xml:"web"` Contact *string `xml:"contact"` Parameters *[]Parameter `xml:"parameter"` Resources *[]Resource `xml:"resource"` Areas *[]Area `xml:"area"` }
Click to show internal directories.
Click to hide internal directories.