MCPcopy
hub / github.com/livebud/bud / Unmarshal

Method Unmarshal

framework/controller/controllerrt/request/request.go:20–22  ·  view source on GitHub ↗

Unmarshal the request body or parameters

(r *http.Request, in interface{})

Source from the content-addressed store, hash-verified

18
19// Unmarshal the request body or parameters
20func (c *Context) Unmarshal(r *http.Request, in interface{}) error {
21 return Unmarshal(r, in)
22}
23
24// Accepts a type
25func Accepts(r *http.Request) Acceptable {

Callers 14

unmarshalJSONFunction · 0.80
renderMethod · 0.80
TestSvelteHelloFunction · 0.80
TestSvelteAwaitFunction · 0.80
renderFunction · 0.80
RenderMethod · 0.80
renderMethod · 0.80
publishMethod · 0.80
scriptMethod · 0.80
evalMethod · 0.80
SSRMethod · 0.80
DOMMethod · 0.80

Calls 1

UnmarshalFunction · 0.85

Tested by 3

TestSvelteHelloFunction · 0.64
TestSvelteAwaitFunction · 0.64
renderFunction · 0.64