(c echo.Context)
| 221 | } |
| 222 | |
| 223 | func (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 | |
| 230 | func (srv *Server) WebHealth(c echo.Context) error { |
| 231 | resp := map[string]interface{}{ |