MCPcopy Create free account
hub / github.com/corestoreio/pkg / Render

Method Render

net/response/response.go:77–87  ·  view source on GitHub ↗

Render renders a template with data and sends a text/html response with status code. Templates can be registered during `Print` creation.

(code int, name string, data interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestPrintRenderFunction · 0.80
TestPrintRenderErrorsFunction · 0.80

Calls 4

htmlMethod · 0.95
GetMethod · 0.65
PutMethod · 0.45
BytesMethod · 0.45

Tested by 2

TestPrintRenderFunction · 0.64
TestPrintRenderErrorsFunction · 0.64