plg_backend_dropbox

package
v0.0.0-...-bec2cf3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dropbox

type Dropbox struct {
	ClientId string
	Hostname string
	Bearer   string
}

func (Dropbox) Cat

func (d Dropbox) Cat(path string) (io.ReadCloser, error)

func (Dropbox) Init

func (d Dropbox) Init(params map[string]string, app *App) (IBackend, error)

func (Dropbox) LoginForm

func (d Dropbox) LoginForm() Form

func (Dropbox) Ls

func (d Dropbox) Ls(path string) ([]os.FileInfo, error)

func (Dropbox) Mkdir

func (d Dropbox) Mkdir(path string) error

func (Dropbox) Mv

func (d Dropbox) Mv(from string, to string) error

func (Dropbox) OAuthURL

func (d Dropbox) OAuthURL() string

func (Dropbox) Rm

func (d Dropbox) Rm(path string) error

func (Dropbox) Save

func (d Dropbox) Save(path string, file io.Reader) error

func (Dropbox) Touch

func (d Dropbox) Touch(path string) error

Jump to

Keyboard shortcuts

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