summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-10-10 18:30:22 -0600
committertjpcc <tjp@ctrl-c.club>2023-10-10 18:30:22 -0600
commit059d44027018f1eaa69d3a0f9779da78eb651ced (patch)
tree102d7c2a3252081e37066057ee06466a6c2be3a6 /types.go
parent04450c5f1d5fb04e95b614116fa2987ae98a8a12 (diff)
identify and error on conflicting servertls directives on merged gemini servers
fixes #7
Diffstat (limited to 'types.go')
-rw-r--r--types.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/types.go b/types.go
index 9523d9c..392b955 100644
--- a/types.go
+++ b/types.go
@@ -50,6 +50,9 @@ type Server struct {
TLS *tls.Config
Hostnames []string
Routes []RouteDirective
+
+ tlsKeyFile string
+ tlsCertFile string
}
type Auth struct {