package
0.3.1
Repository: https://github.com/kennylevinsen/qptools.git
Documentation: pkg.go.dev

# Functions

NewBroadcastFile returns a new BroadcastFile.
NewCallbackFile returns an initialized CallbackFile.
NewDetachedHandle creates a new DetachedHandle.
NewLockedFile wraps a file in a LockedFile.
No description provided by the author
No description provided by the author
NewSyntheticFile returns a new SyntheticFile.
No description provided by the author

# Variables

ErrTerminatedRead indicates that a read was terminated because the file was closed.

# Structs

BroadcastFile provides broadcast functionality.
BroadcastHandle implements the R/W access to the broadcasting mechanism of BroadcastFile.
CallbackFile is a synthetic file that handles it content through an update hook and a write hook.
CallbackHandle is the handle for CallbackFile.
DetachedHandle is like SyntheticHandle, but instead of enquiring about content from the file itself, DetachedHandle manipulates a local content slice, detached from the original file.
ListHandle is a special handle used to list directories that implement the Lister interface.
LockedFile provides a lock on open for read and write, using a sync.RWMutex.
LockedHandle is a handle wrapper for use by LockedFile.
MixDir allows for access two two directories on top of eachother.
ProxyFile provides access to a local filesystem.
SyntheticDir represents an in-memory directory.
SyntheticFile is a File implementation that takes care of the more boring aspects of a file implementation, such as permission-handling and qid/stat generation.
SyntheticHandle implements locked R/W access to a SyntheticFile's internal Content byteslice.

# Interfaces

AccessLogger defines a file that can log access.
Authenticator describes a handle that implements authentication service.
Dir is a file that also sports directory features.
File is a node in the tree abstraction.
Lister allows for ListHandle to read the directory entries, so that a directory does not have to implement reading.
ReadWriteSeekCloser is an interface that allows reading, writing, seeking and closing.