storage

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	Store(in io.Reader, path ...string) (*StoredFile, error)
	Load(path ...string) (io.ReadCloser, error)
}

func NewLocalStorage

func NewLocalStorage(config config.Storage) (Storage, error)

type StoredFile

type StoredFile struct {
	Path         string
	AbsolutePath string
}

Jump to

Keyboard shortcuts

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