func TriggerIncidentKeyWithDetails(description string, key string, details map[string]interface{}) (incidentKey string, err error) {
	return trigger(description, key, details)
}
TriggerIncidentKeyWithDetails triggers an incident using the default client
with a given incident key only if that incident has been resolved or if that
incident doesn't exist yet.
package pager
import (
	"bytes"
	"encoding/json"
	"fmt"
	"io/ioutil"
	"net/http"
)
const endpoint = "https://events.pagerduty.com/generic/2010-04-15/create_event.json"
var ServiceKey = ""
type Pager struct {
	ServiceKey string
}
func New(serviceKey string) *Pager {
	return &Pager{serviceKey}
}
func Trigger(description string) (incidentKey string, err error) {
	return trigger(description, "", map[string]interface{}{})
}
func TriggerIncidentKey(description string, key string) (incidentKey string, err error) {
	return trigger(description, key, map[string]interface{}{})
}
func TriggerWithDetails(description string, details map[string]interface{}) (incidentKey string, err error) {
	return trigger(description, "", details)
}