community: Index | Files

package store

import ""

Package store provides the implementation for a file system based storage provider. This enables all document upload previews to be processed AND stored locally.


Package Files


type LocalStorageProvider Uses

type LocalStorageProvider struct {

LocalStorageProvider provides an implementation of StorageProvider.

func (*LocalStorageProvider) Convert Uses

func (store *LocalStorageProvider) Convert(params api.ConversionJobRequest) (filename string, fileResult *api.DocumentConversionResponse, err error)

Convert a file from its native format into Documize internal format.

func (*LocalStorageProvider) Upload Uses

func (store *LocalStorageProvider) Upload(job string, filename string, file []byte) (err error)

Upload a flie and store it locally.

Package store imports 6 packages (graph) and is imported by 2 packages. Updated 2019-01-08. Refresh now. Tools for package owners.