(r *http.Request)
| 195 | } |
| 196 | |
| 197 | func ApplyHTTPIncomingContextModifiers(r *http.Request) (*http.Request, error) { |
| 198 | var er error |
| 199 | for _, o := range httpIncomingModifiers { |
| 200 | r, er = o(r) |
| 201 | if er != nil { |
| 202 | return nil, er |
| 203 | } |
| 204 | } |
| 205 | return r, nil |
| 206 | } |
| 207 | |
| 208 | func setContextForService(ctx context.Context) context.Context { |
| 209 | service := "default" |
no test coverage detected
searching dependent graphs…