kickstart

This commit is contained in:
2025-10-22 00:45:18 +02:00
commit 213c9480e7
14 changed files with 294 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package main
import (
"fmt"
"log"
"net/http"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("GET /hello", func(w http.ResponseWriter, r *http.Request) {
log.Println("Received request on /hello endpoint")
fmt.Fprintf(w, "Hello world from service B")
})
http.ListenAndServe(":8090", mux)
}