# Functions
NewConfig returns a new instance of the primary config struct for PagerDuty.
NewService returns a newly instantiated Service.
# Constants
DefaultPagerDuty2APIURL is the default URL for the v2 API.
# Structs
AlertPayload is the default struct to send an element through to PagerDuty.
Config is the default struct for the PagerDuty v2 plugin.
HandlerConfig defines the high-level struct required to connect to PagerDuty.
Image is the struct of elements for an image in the payload.
Link is the struct of elements for a link in the payload.
PDCEF is the PagerDuty - Common Event Format (PD-CEF) as outlined in the v2 API https://v2.developer.pagerduty.com/docs/events-api-v2 https://support.pagerduty.com/docs/pd-cef
API entry point is now https://events.pagerduty.com/v2/enqueue.
Service is the default struct for the HTTP service.
# Interfaces
Diagnostic defines the interface of a diagnostic event.