Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigBasedWebdavHandler ¶
type ConfigBasedWebdavHandler struct {
// contains filtered or unexported fields
}
ConfigBasedWebdavHandler is a wrapper around config to expose ServeHTTP only
func HandlerFromConfig ¶
func HandlerFromConfig(c *Config) *ConfigBasedWebdavHandler
HandlerFromConfig generates config based handler
func (*ConfigBasedWebdavHandler) ServeHTTP ¶
func (h *ConfigBasedWebdavHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type CorsCfg ¶
type CorsCfg struct { Enabled bool Credentials bool AllowedHeaders []string AllowedHosts []string AllowedMethods []string ExposedHeaders []string }
CorsCfg is the CORS config.
Click to show internal directories.
Click to hide internal directories.