Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is a wrapper around a HTTP router and supporting data.
func (*API) GetAlertByHash ¶
func (a *API) GetAlertByHash(w http.ResponseWriter, r *http.Request)
GetAlertByHash returns the alert data according to the specified hash.
func (*API) GetLastUpdated ¶
func (a *API) GetLastUpdated(w http.ResponseWriter, r *http.Request)
GetLastUpdated gets the time when the Cache was last updated.
func (*API) GetRelated ¶
func (a *API) GetRelated(w http.ResponseWriter, r *http.Request)
GetRelated gets the list of related alerts according to the name and label set.
Click to show internal directories.
Click to hide internal directories.