Documentation ¶
Index ¶
- Constants
- type FileStore
- 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)
Constants ¶
View Source
const ( ChunkSize = 8 * 1024 * 1024 // 255 * 1024 // 255 KB per chunk FilesColl = "files" ChunksColl = "chunks" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.