storage

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 2 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 {
	List(path string) ([]StorageEntry, error)
	IsDownloadable(path string) (bool, error)
	Download(w io.Writer, path string) error
}

type StorageEntry

type StorageEntry struct {
	Title    string
	Path     string
	IsDir    bool
	Updated  time.Time
	MimeType string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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