Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileStore ¶
type FileStore interface {
// Similar to os.Open
Open(path string) (io.ReadCloser, error)
Exists(path string) bool
FindDataFiles(str string, ext []string) []string
ChunkReader(file string, key x.Sensitive) (*bufio.Reader, func())
}
FileStore represents a file or directory of files that are either stored locally or on minio/s3
func NewFileStore ¶
NewFileStore returns a new file storage. If remote, it's backed by an x.MinioClient
Click to show internal directories.
Click to hide internal directories.