MCPcopy Index your code
hub / github.com/devopsfaith/api2html / HandlerFunc

Method HandlerFunc

engine/handler.go:120–137  ·  view source on GitHub ↗

HandlerFunc handles a gin request rendering the data returned by the response generator. If the response generator does not return an error, it adds a Cache-Control header

(c *gin.Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestNewBackendFunction · 0.45
NewMethod · 0.45
setStaticsMethod · 0.45

Calls 2

RenderMethod · 0.65
ResponseGeneratorMethod · 0.45

Tested by 1

TestNewBackendFunction · 0.36