package main import ( "fmt" "net/http" ) func main() { http.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) }) http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "hello from w4f demo backend (path=%s)", r.URL.Path) }) _ = http.ListenAndServe("0.0.0.0:8080", nil) }