Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMonitoredURLs ¶
func GetMonitoredURLs() []string
GetMonitoredURLs will return the list of URLs to be monitored
func HealthCheck ¶
func HealthCheck(w http.ResponseWriter, r *http.Request)
HealthCheck is the health check handler
func ListMonitoredRoutes ¶
func ListMonitoredRoutes(w http.ResponseWriter, r *http.Request)
ListMonitoredRoutes will fetch the list of monitored routes
Types ¶
type MonitoredRoutesResponse ¶
type MonitoredRoutesResponse struct {
URLs []string `json:"urls"`
}
type MonitoredURLConfig ¶
MonitoredURLConfig represents the health check configuration per monitored URL
func GetMonitoredURLsConfig ¶
func GetMonitoredURLsConfig() []MonitoredURLConfig
GetMonitoredURLsConfig will return the configuration per URL
Click to show internal directories.
Click to hide internal directories.