]> 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 b1e274bf36daf6a35d5ac939b3806f4f24e45d96..96811b4ca045debc6c2f1e9708cb6ce1c6e40eab 100644 (file)
--- a/cfg.go
+++ b/cfg.go
@@ -38,13 +38,14 @@ 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
+       Root     string
+       ECDSATLS *TLSCfg
+       EdDSATLS *TLSCfg
+       GOSTTLS  *TLSCfg
+       DirList  bool
+       WebDAV   bool
+       Hooks    []Hook
+       Auth     *AuthCfg
 
        Indices []string
        Readmes []string