aboutsummaryrefslogtreecommitdiff
path: root/route.go
diff options
context:
space:
mode:
Diffstat (limited to 'route.go')
-rw-r--r--route.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/route.go b/route.go
index 7596023..c8c9191 100644
--- a/route.go
+++ b/route.go
@@ -18,8 +18,8 @@ func (r Route) GetCertificate(h *tls.ClientHelloInfo) (*tls.Certificate, error)
// Entry holds routing settings
type Entry struct {
- ServerName string
- Upstream string
+ ServerName string // HostName
+ Upstream string // URL
Cert []byte // PEM
Key []byte // PEM
cert *tls.Certificate // Parsed