Cert string
Key string
CACert string
+
+ // Require client authentication
+ ClientCAs []string
+}
+
+type AuthCfg struct {
+ Passwords string
+ Realm string
}
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
Readmes []string