Move upstream information to request scope

This commit is contained in:
Joel Speed
2020-10-04 16:57:14 +01:00
parent 18cd045631
commit 2e72d151e2
11 changed files with 194 additions and 103 deletions
+3
View File
@@ -21,4 +21,7 @@ type RequestScope struct {
// SessionRevalidated indicates whether the session has been revalidated since
// it was loaded or not.
SessionRevalidated bool
// Upstream indicates which (if any) upstream server the request was proxied to.
Upstream string
}