DefaultReq is the default implementation of Req used by DefaultCtx. go:generate ifacemaker --file req.go --struct DefaultReq --iface Req --pkg fiber --output req_interface_gen.go --not-exported true --iface-comment "Req is an interface for request-related Ctx methods."
| 44 | // |
| 45 | //go:generate ifacemaker --file req.go --struct DefaultReq --iface Req --pkg fiber --output req_interface_gen.go --not-exported true --iface-comment "Req is an interface for request-related Ctx methods." |
| 46 | type DefaultReq struct { |
| 47 | c *DefaultCtx |
| 48 | } |
| 49 | |
| 50 | // Accepts checks if the specified extensions or content types are acceptable. |
| 51 | func (r *DefaultReq) Accepts(offers ...string) string { |
nothing calls this directly
no outgoing calls
no test coverage detected