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

Function handleOther

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

Source from the content-addressed store, hash-verified

7)
8
9func handleOther(w http.ResponseWriter, r *http.Request) {
10 log.Println("Received a non domain request")
11 w.Write([]byte("Hello, stranger..."))
12}
13
14func handle(w http.ResponseWriter, r *http.Request) {
15 log.Println("Received a request at my domain")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected