aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.go b/config.go
index f187b69..c76fa94 100644
--- a/config.go
+++ b/config.go
@@ -11,6 +11,10 @@ import (
var config struct {
Server_name string `scfg:"server_name"`
Routes map[string]string `scfg:"routes"`
+ TLS struct {
+ Cert string `scfg:"cert"`
+ Key string `scfg:"key"`
+ } `scfg:"tls"`
}
var config_mutex sync.RWMutex