package
0.34.0
Repository: https://go.googlesource.com/net
Documentation: pkg.go.dev

# Functions

NewMemFS returns a new in-memory FileSystem implementation.
NewMemLS returns a new in-memory LockSystem.
No description provided by the author

# Constants

http://www.webdav.org/specs/rfc4918.html#status.code.extensions.to.http11.
http://www.webdav.org/specs/rfc4918.html#status.code.extensions.to.http11.
http://www.webdav.org/specs/rfc4918.html#status.code.extensions.to.http11.
http://www.webdav.org/specs/rfc4918.html#status.code.extensions.to.http11.
http://www.webdav.org/specs/rfc4918.html#status.code.extensions.to.http11.

# Variables

ErrConfirmationFailed is returned by a LockSystem's Confirm method.
ErrForbidden is returned by a LockSystem's Unlock method.
ErrLocked is returned by a LockSystem's Create, Refresh and Unlock methods.
ErrNoSuchLock is returned by a LockSystem's Refresh and Unlock methods.
ErrNotImplemented should be returned by optional interfaces if they want the original implementation to be used.

# Structs

Condition can match a WebDAV resource, based on a token or ETag.
No description provided by the author
LockDetails are a lock's metadata.
Property represents a single DAV resource property as defined in RFC 4918.
Proppatch describes a property update instruction as defined in RFC 4918.
Propstat describes a XML propstat element as defined in RFC 4918.

# Interfaces

ContentTyper is an optional interface for the os.FileInfo objects returned by the FileSystem.
DeadPropsHolder holds the dead properties of a resource.
ETager is an optional interface for the os.FileInfo objects returned by the FileSystem.
A File is returned by a FileSystem's OpenFile method and can be served by a Handler.
A FileSystem implements access to a collection of named files.
LockSystem manages access to a collection of named resources.

# Type aliases

A Dir implements FileSystem using the native file system restricted to a specific directory tree.