plg_backend_storj

package
v0.0.0-...-612c5e9 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const CONCURRENCY_LEVEL = 20

Variables

This section is empty.

Functions

This section is empty.

Types

type Storj

type Storj struct {
	Context context.Context
	Project *uplink.Project
}

func (Storj) Cat

func (this Storj) Cat(path string) (io.ReadCloser, error)

func (Storj) Init

func (this Storj) Init(params map[string]string, app *App) (IBackend, error)

func (Storj) LoginForm

func (this Storj) LoginForm() Form

func (Storj) Ls

func (this Storj) Ls(path string) ([]os.FileInfo, error)

func (Storj) Meta

func (this Storj) Meta(path string) Metadata

func (Storj) Mkdir

func (this Storj) Mkdir(path string) error

func (Storj) Mv

func (this Storj) Mv(from, to string) error

func (Storj) Rm

func (this Storj) Rm(path string) error

func (Storj) Save

func (this Storj) Save(path string, content io.Reader) error

func (Storj) Touch

func (this Storj) Touch(path string) error

Jump to

Keyboard shortcuts

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