(c context.Context)
| 32 | } |
| 33 | |
| 34 | func GetResponseWriter(c context.Context) http.ResponseWriter { |
| 35 | v, ok := c.Value(response_writer_context_key).(http.ResponseWriter) |
| 36 | if v == nil || !ok { |
| 37 | return nil |
| 38 | } |
| 39 | return v |
| 40 | } |
| 41 | |
| 42 | func GetRequest(c context.Context) *http.Request { |
| 43 | v, ok := c.Value(request_context_key).(*http.Request) |
no test coverage detected