Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WebDAVMethods = []string{
"OPTIONS",
"GET",
"HEAD",
"POST",
"DELETE",
"PUT",
"MKCOL",
"COPY",
"MOVE",
"LOCK",
"UNLOCK",
"PROPFIND",
"PROPPATCH",
}
WebDAVMethods http
Functions ¶
Types ¶
type Config ¶
type Config struct { PassSalt string Listen string Prefix string StlCrt string //https StlKey string RootPath string Users map[string]*User }
Config config
type Server ¶
type Server struct { Cfg *Config DavHandlers map[string]*webdav.Handler Users *sync.Map //[uid]User Router *httprouter.Router Sesstions *sessions.FilesystemStore }
Server gdav server
func (*Server) HandleFunc ¶
func (svr *Server) HandleFunc(w http.ResponseWriter, r *http.Request)
HandleFunc handle req
Click to show internal directories.
Click to hide internal directories.