Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-02-03 00:08:19 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-02-07 21:38:47 +0300
commitddff37bc7cecf2f73a7bb82d60391505ad96a426 (patch)
tree88bdfc87ba74866da6224ddea200062fee31e5aa /app_config.go
parent1e31fac9d8a60efb3b2b536a46e059f286ab62c0 (diff)
Improve complexity metrics
Also fixed the dependencies, moved metrics to its own package and updated the tests
Diffstat (limited to 'app_config.go')
-rw-r--r--app_config.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/app_config.go b/app_config.go
index 8220bb87..04c787e1 100644
--- a/app_config.go
+++ b/app_config.go
@@ -6,10 +6,10 @@ type appConfig struct {
RootCertificate []byte
RootKey []byte
- ListenHTTP []uintptr
- ListenHTTPS []uintptr
- ListenProxy []uintptr
- MetricsAddress string
+ ListenHTTP []uintptr
+ ListenHTTPS []uintptr
+ ListenProxy []uintptr
+ ListenMetrics uintptr
HTTP2 bool
RedirectHTTP bool