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:
authorKamil Trzciński <ayufan@ayufan.eu>2019-02-28 21:25:01 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2019-02-28 21:25:01 +0300
commit6e3da2c0815b4d3af243bc5ddfdc24efb3846184 (patch)
tree6ca1a56a5abac51bd9765a82751403a5fc30e93f /internal/domain
parent4bb60040d5abc2478ffafac5afe308ef7b04cb25 (diff)
Fix comments
Diffstat (limited to 'internal/domain')
-rw-r--r--internal/domain/domain.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/domain/domain.go b/internal/domain/domain.go
index ae109c6b..daf43b40 100644
--- a/internal/domain/domain.go
+++ b/internal/domain/domain.go
@@ -52,7 +52,8 @@ type D struct {
certificateOnce sync.Once
}
-type DomainFunc func(host string) *D
+// Finder provides a mapping between host and domain configuration
+type Finder func(host string) *D
func (l *locationDirectoryError) Error() string {
return "location error accessing directory where file expected"