store

package
v0.0.0-...-7cd4bc0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Path string `json:"path"`
}

func CreateConfig

func CreateConfig() *Config

type Store

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

func CreateStore

func CreateStore(config *Config) *Store

func (*Store) Close

func (store *Store) Close()

func (*Store) ListMedia

func (store *Store) ListMedia() ([]string, error)

func (*Store) Open

func (store *Store) Open() error

func (*Store) SaveFile

func (store *Store) SaveFile(file multipart.File, header *multipart.FileHeader) error

Jump to

Keyboard shortcuts

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