common

package
v1.0.1-beta.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(ctx context.Context, r *http.Request) (interface{}, error)

Copy is to copy a file

func Delete

func Delete(ctx context.Context, r *http.Request) (interface{}, error)

Delete is for file delete

func Download

func Download(ctx context.Context, r *http.Request) (interface{}, error)

Download is to download a file

func Move

func Move(ctx context.Context, r *http.Request) (interface{}, error)

Move is to move a file

func PublicEncryptionKey

func PublicEncryptionKey(ctx context.Context, r *http.Request) (interface{}, error)

PublicEncryptionKey is to get public encryption key for the client

func Rename

func Rename(ctx context.Context, r *http.Request) (interface{}, error)

Rename is to rename file

func SetupHandlers

func SetupHandlers(r *mux.Router)

SetupHandlers is to setup handlers

func Share

func Share(ctx context.Context, r *http.Request) (interface{}, error)

Share to share a file and get authTicket

func Stream

func Stream(w http.ResponseWriter, r *http.Request) (interface{}, error)

Stream is to stream a file

func Upload

func Upload(ctx context.Context, r *http.Request) (interface{}, error)

Upload is for file upload

Types

This section is empty.

Jump to

Keyboard shortcuts

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