MCPcopy Create free account
hub / github.com/devfeel/dotweb / HandlerFunc

Function HandlerFunc

example/router/main.go:49–51  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

47}
48
49func HandlerFunc(w http.ResponseWriter, r *http.Request) {
50 w.Write([]byte("go raw http func"))
51}
52
53func InitRoute(server *dotweb.HttpServer) {
54 server.GET("/", Index)

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected