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

Function NewHandler

engine/handler.go:79–90  ·  view source on GitHub ↗

NewHandler creates a Handler with the given configuration. The returned handler will be keeping itself subscribed to the latest template updates using the given subscription channel, allowing hot template reloads

(cfg HandlerConfig, subscriptionChan chan Subscription)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

BuildMethod · 0.85
TestNewHandlerFunction · 0.85
TestNewHandler_koFunction · 0.85

Calls 1

updateRendererMethod · 0.95

Tested by 2

TestNewHandlerFunction · 0.68
TestNewHandler_koFunction · 0.68