We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1817d55 commit 7a7bbcfCopy full SHA for 7a7bbcf
example/upstream/main.go
@@ -8,7 +8,8 @@ import (
8
"time"
9
)
10
11
-func upHandler(w http.ResponseWriter, _ *http.Request) {
+func upHandler(w http.ResponseWriter, r *http.Request) {
12
+ slog.Info("Health request", "method", r.Method, "url", r.URL)
13
w.WriteHeader(http.StatusOK)
14
}
15
0 commit comments