file

package
v0.0.0-...-a39f72a Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileController

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

func NewFileController

func NewFileController(store store.Factory) *FileController

func (*FileController) Delete

func (f *FileController) Delete(c *gin.Context)

func (*FileController) FastUpload

func (f *FileController) FastUpload(c *gin.Context)

func (*FileController) Find

func (f *FileController) Find(c *gin.Context)

func (*FileController) FindFilesByUserAndFolder

func (f *FileController) FindFilesByUserAndFolder(c *gin.Context)

func (*FileController) MoveFileToFolder

func (f *FileController) MoveFileToFolder(c *gin.Context)

func (*FileController) Update

func (f *FileController) Update(c *gin.Context)

func (*FileController) Upload

func (f *FileController) Upload(c *gin.Context)

type FileInfo

type FileInfo struct {
	Filesha1 string `json:"filesha1"`
	UserID   uint   `json:"userid"`
	FolderID uint   `json:"folderid"`
}

Jump to

Keyboard shortcuts

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