15 lines
298 B
Go
15 lines
298 B
Go
package server
|
|
|
|
import (
|
|
"encoding/json"
|
|
"gis/app"
|
|
"net/http"
|
|
)
|
|
|
|
func upRoute(application *app.App) http.HandlerFunc {
|
|
return func(w http.ResponseWriter, r *http.Request) {
|
|
w.Header().Set("Content-Type", "application/json")
|
|
json.NewEncoder(w).Encode(map[string]string{"status": "ok"})
|
|
}
|
|
}
|