controllers

package
v2.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirContent

func DirContent(c *gin.Context)

func DirFileDownload

func DirFileDownload(c *gin.Context)

func DirUpload

func DirUpload(c *gin.Context)

func DownloadFile

func DownloadFile(c *gin.Context)

func FileInfo

func FileInfo(c *gin.Context)

func Upload

func Upload(c *gin.Context)

Types

type File

type File struct {
	Name  string `json:"name"`
	IsDir bool   `json:"is_dir"`
	Size  int64  `json:"size,omitempty"`
}

Jump to

Keyboard shortcuts

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