]> Sergey Matveev's repositories - godlighty.git/blobdiff - cfg.go
Simultaneous ECDSA and EdDSA support
[godlighty.git] / cfg.go
diff --git a/cfg.go b/cfg.go
index f81f27c142cc54d2fe4a98b646434f1c6340b90e..96811b4ca045debc6c2f1e9708cb6ce1c6e40eab 100644 (file)
--- a/cfg.go
+++ b/cfg.go
@@ -38,15 +38,16 @@ type AuthCfg struct {
 type Hook func(http.ResponseWriter, *http.Request) bool
 
 type HostCfg struct {
-       Root    string
-       TLS     *TLSCfg
-       GOSTTLS *TLSCfg
-       DirList bool
-       WebDAV  bool
-       Hooks   []Hook
-       Auth    *AuthCfg
-
-       Indexes []string
+       Root     string
+       ECDSATLS *TLSCfg
+       EdDSATLS *TLSCfg
+       GOSTTLS  *TLSCfg
+       DirList  bool
+       WebDAV   bool
+       Hooks    []Hook
+       Auth     *AuthCfg
+
+       Indices []string
        Readmes []string
        MIMEs   map[string]string
 }