plg_backend_s3

package
v0.2.2-0...-091e9c0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: AGPL-3.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var S3Cache AppCache

Functions

This section is empty.

Types

type S3Backend

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

func (S3Backend) Cat

func (s S3Backend) Cat(path string) (io.ReadCloser, error)

func (S3Backend) Init

func (s S3Backend) Init(params map[string]string, app *App) (IBackend, error)

func (S3Backend) LoginForm

func (s S3Backend) LoginForm() Form

func (S3Backend) Ls

func (s S3Backend) Ls(path string) (files []os.FileInfo, err error)

func (S3Backend) Meta

func (s S3Backend) Meta(path string) Metadata

func (S3Backend) Mkdir

func (s S3Backend) Mkdir(path string) error

func (S3Backend) Mv

func (s S3Backend) Mv(from string, to string) error

func (S3Backend) Rm

func (s S3Backend) Rm(path string) error

func (S3Backend) Save

func (s S3Backend) Save(path string, file io.Reader) error

func (S3Backend) Touch

func (s S3Backend) Touch(path string) error

type S3Path

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

Jump to

Keyboard shortcuts

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