Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStorage ¶
type FileStorage struct {
// contains filtered or unexported fields
}
FileStorage defines the location and allocate the size of storage to store data file
func NewFileStorage ¶
func NewFileStorage(basePath string, maxSize int) (*FileStorage, error)
NewFileStorage return a new FileStorage with intended location and maximum file size allowed
Click to show internal directories.
Click to hide internal directories.