directory

package
v0.0.0-...-7ae5cf1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFolder

func CreateFolder(res http.ResponseWriter, req *http.Request)

CreateUsers insert one to DB

func DeleteDirectory

func DeleteDirectory(res http.ResponseWriter, req *http.Request)

func DownloadFile

func DownloadFile(res http.ResponseWriter, req *http.Request)

func GetDirectory

func GetDirectory(res http.ResponseWriter, req *http.Request)

GetAllUsers return res json Users model

func RenameFolder

func RenameFolder(res http.ResponseWriter, req *http.Request)

func UploadFile

func UploadFile(res http.ResponseWriter, req *http.Request)

Types

type RenamePayload

type RenamePayload struct {
	Oldpath string `json:"old_path"`
	Newpath string `json:"new_path"`
}

Jump to

Keyboard shortcuts

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