MCPcopy Create free account
hub / github.com/PuerNya/git-proxy / hello

Function hello

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

Source from the content-addressed store, hash-verified

528}
529
530func hello(w http.ResponseWriter, r *http.Request) {
531 render.Status(r, http.StatusOK)
532 render.PlainText(w, r, "Hello to visit git-proxy")
533}
534
535func setContext(next http.Handler) http.Handler {
536 return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected