Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Local ¶
type Local struct {
// contains filtered or unexported fields
}
Local is an implementation of the Storage interface which works with the local disk on the current machine
func NewLocal ¶
NewLocal creates a new Local filesytem with the given base path basePath is the base directory to save files to maxSize is the max number of bytes that a file can be
func (*Local) Get ¶
Get the file at the given path and return a Reader the calling function is responsible for closing the reader
Click to show internal directories.
Click to hide internal directories.