diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2020-10-08 12:38:42 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2020-10-13 14:08:30 +0300 |
commit | dc54f4215620da74b70dbd07d0f1369e409d3e0b (patch) | |
tree | 69e26a6cde0b614079a2ab0b361f1efe81a74066 /internal/serving | |
parent | 5f461b42e39419795b2669278398a9a7c6ed2cd9 (diff) |
Log serving type used for requestslog-serving-type
This extends our structured logging
with information about how the given
request was served
Diffstat (limited to 'internal/serving')
-rw-r--r-- | internal/serving/lookup_path.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/serving/lookup_path.go b/internal/serving/lookup_path.go index 4360358b..1aefe1b8 100644 --- a/internal/serving/lookup_path.go +++ b/internal/serving/lookup_path.go @@ -2,6 +2,7 @@ package serving // LookupPath holds a domain project configuration needed to handle a request type LookupPath struct { + ServingType string // Serving type being used, like `zip` Prefix string // Project prefix, for example, /my/project in group.gitlab.io/my/project/index.html Path string // Path is an internal and serving-specific location of a document IsNamespaceProject bool // IsNamespaceProject is DEPRECATED, see https://gitlab.com/gitlab-org/gitlab-pages/issues/272 |