MCPcopy
hub / github.com/gofiber/fiber / DefaultRes

Struct DefaultRes

res.go:129–131  ·  view source on GitHub ↗

DefaultRes is the default implementation of Res used by DefaultCtx. go:generate ifacemaker --file res.go --struct DefaultRes --iface Res --pkg fiber --output res_interface_gen.go --not-exported true --iface-comment "Res is an interface for response-related Ctx methods."

Source from the content-addressed store, hash-verified

127//
128//go:generate ifacemaker --file res.go --struct DefaultRes --iface Res --pkg fiber --output res_interface_gen.go --not-exported true --iface-comment "Res is an interface for response-related Ctx methods."
129type DefaultRes struct {
130 c *DefaultCtx
131}
132
133// App returns the *App reference to the instance of the Fiber application
134func (r *DefaultRes) App() *App {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected