MCPcopy Index your code
hub / github.com/dreamsofcode-io/nethttp / handle

Function handle

main.go:14–17  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

12}
13
14func handle(w http.ResponseWriter, r *http.Request) {
15 log.Println("Received a request at my domain")
16 w.Write([]byte("Hello, Domain name!"))
17}
18
19func main() {
20 router := http.NewServeMux()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected