store

package
v0.0.0-...-776a9bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskFileStore

type DiskFileStore struct {
	// contains filtered or unexported fields
}

func NewDiskFileStore

func NewDiskFileStore(fileDir string) *DiskFileStore

func (*DiskFileStore) Save

func (store *DiskFileStore) Save(storyId string, fileType string, fileData bytes.Buffer) (string, error)

type FileInfo

type FileInfo struct {
	StoryId string
	Type    string
	Path    string
}

type FileStore

type FileStore interface {
	Save(storyId string, fileType string, fileData bytes.Buffer) (string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL