The duration middleware should come after the tenant channel middleware, otherwise the tenant in the context will be empty. The status middleware can come beforehand because it queries the request context right before sending a response. |
||
|---|---|---|
| .. | ||
| v2 | ||
| server.go | ||