Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem is a wrapper to handle realm specific file system operations.
func NewFileSystem ¶
func NewFileSystem(realm string, init interface{}) *FileSystem
NewFileSystem creates a new FileSystem with realm scope.
func (*FileSystem) Read ¶
func (fs *FileSystem) Read(data interface{}) error
func (*FileSystem) Write ¶
func (fs *FileSystem) Write(data interface{}) error
type FileSystemError ¶
type FileSystemError struct {
Message string
}
FileSystemError is an error about filesystem operations.
func (FileSystemError) Error ¶
func (e FileSystemError) Error() string
Click to show internal directories.
Click to hide internal directories.