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

Method View

context.go:548–550  ·  view source on GitHub ↗

View write view content to response

(name string)

Source from the content-addressed store, hash-verified

546
547// View write view content to response
548func (ctx *HttpContext) View(name string) error {
549 return ctx.ViewC(defaultHttpCode, name)
550}
551
552// ViewC write (httpCode, view content) to response
553func (ctx *HttpContext) ViewC(code int, name string) error {

Callers

nothing calls this directly

Calls 1

ViewCMethod · 0.95

Tested by

no test coverage detected