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

Method WebSpecZeroOne

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

Source from the content-addressed store, hash-verified

221}
222
223func (srv *Server) WebSpecZeroOne(c echo.Context) error {
224 data := pongo2.Context{}
225 data["html_title"] = "did:plc Specification v0.1"
226 data["markdown_html"] = string(blackfriday.Run(specZeroOneMarkdown))
227 return c.Render(http.StatusOK, "templates/markdown.html", data)
228}
229
230func (srv *Server) WebHealth(c echo.Context) error {
231 resp := map[string]interface{}{

Callers

nothing calls this directly

Calls 1

RenderMethod · 0.80

Tested by

no test coverage detected