Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PDCEF ¶
type PDCEF struct { Summary string `json:"summary"` Source string `json:"source"` Severity string `json:"severity"` Timestamp string `json:"timestamp"` Class string `json:"class"` Component string `json:"component"` Group string `json:"group"` CustomDetails map[string]interface{} `json:"custom_details"` }
type PostData ¶
type PostData struct { RoutingKey string `json:"routing_key"` EventAction string `json:"event_action"` DedupKey string `json:"dedup_key"` Payload *PDCEF `json:"payload"` Images []Image `json:"images"` Links []Link `json:"links"` Client string `json:"client"` ClientURL string `json:"client_url"` }
PostData is the default struct to send an element through to PagerDuty
Click to show internal directories.
Click to hide internal directories.