Versions in this module Expand all Collapse all v1 v1.0.1 Jul 14, 2024 v1.0.0 Jul 14, 2024 Changes in this version + const ChunkSize + const ChunksColl + const FilesColl + type FileStore struct + func NewFileStore(uri, dbName, collPrefix string) (*FileStore, error) + func (fs *FileStore) Close() error + func (fs *FileStore) Delete(fileId string) error + func (fs *FileStore) FastGet(fileId string) (data []byte, metadata map[string]interface{}, err error) + func (fs *FileStore) Get(fileId string) (data []byte, metadata map[string]interface{}, err error) + func (fs *FileStore) Put(buffer []byte, metadata map[string]interface{}) (fileId string, err error)