Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { rw.Prefixed // Root dir Dir string `json:"dir"` // Allow the creation of sub directories AllowSub bool `json:"allow_sub"` // Remove Empy directories on Delete. RemoveEmpty bool `json:"remove_empty"` }
File defines a Directory to save files.
func (*File) NewReader ¶
func (s *File) NewReader(id string) (io.ReadCloser, error)
NewReader read a file.
Click to show internal directories.
Click to hide internal directories.