func GetProbeRequestCount(db store.DataStore) (int, string) { probes := db.GetAllProbeRequests() return http.StatusOK, fmt.Sprintf("%d", len(probes)) }
func GetAllProbeRequests(db store.DataStore) (int, string) { probes := db.GetAllProbeRequests() return http.StatusOK, mustEncode(&probes) }