Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements the Opsgenie client for the incidents timeline API.
type Entry ¶
type Entry struct {
ID string `json:"id"`
Group string `json:"group"`
Type string `json:"type"`
EventTime time.Time `json:"eventTime"`
Hidden bool `json:"hidden"`
Actor struct {
Name string `json:"name"`
Type string `json:"type"`
} `json:"actor"`
Description struct {
Name string `json:"name"`
Type string `json:"type"`
} `json:"description"`
LastEdit struct {
EditTime time.Time `json:"editTime"`
Actor struct {
Name string `json:"name"`
Type string `json:"type"`
} `json:"actor"`
} `json:"lastEdit"`
}
Entry is the structure for a single incident timeline entry.
Click to show internal directories.
Click to hide internal directories.