MCPcopy Create free account
hub / github.com/did-method-plc/did-method-plc / WebHealth

Method WebHealth

website/server.go:230–235  ·  view source on GitHub ↗
(c echo.Context)

Source from the content-addressed store, hash-verified

228}
229
230func (srv *Server) WebHealth(c echo.Context) error {
231 resp := map[string]interface{}{
232 "status": "ok",
233 }
234 return c.JSON(http.StatusOK, resp)
235}
236
237func (srv *Server) WebOpenapiYaml(c echo.Context) error {
238 return c.Blob(http.StatusOK, "text/yaml", apiOpenapiYaml)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected