Documentation ¶ Index ¶ func WriteJSONResponse(w http.ResponseWriter, logger *zap.Logger, status int, response any) type PrometheusAlertResponse Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WriteJSONResponse ¶ func WriteJSONResponse(w http.ResponseWriter, logger *zap.Logger, status int, response any) Types ¶ type PrometheusAlertResponse ¶ type PrometheusAlertResponse struct { Message string `json:"message"` Total int `json:"total"` Successful int `json:"successful"` Skipped int `json:"skipped"` } Source Files ¶ View all Source files response.go Click to show internal directories. Click to hide internal directories.