community: github.com/documize/community/domain/conversion/store Index | Files

package store

import "github.com/documize/community/domain/conversion/store"

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

Index

Package Files

local.go

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 1 packages. Updated 2019-01-08. Refresh now. Tools for package owners.