go-webdav/webdav.go

24 lines
400 B
Go
Raw Permalink Normal View History

2020-01-21 20:01:18 +00:00
// Package webdav provides a client and server WebDAV filesystem implementation.
//
// WebDAV is defined in RFC 4918.
package webdav
import (
"time"
)
2022-05-03 16:53:06 +01:00
// Principal is a DAV principal as defined in RFC 3744 section 2.
type Principal struct {
Path string
Name string
}
type FileInfo struct {
Path string
2020-01-21 21:43:13 +00:00
Size int64
ModTime time.Time
IsDir bool
MIMEType string
ETag string
}