Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListDirFiles ¶
func ListDirFiles(baseDir string) gin.HandlerFunc
ListDirFiles provides a gin.HandlerFunc that describes the directories/files in a directory.
func ZipDir ¶ added in v0.2.0
func ZipDir(baseDir string) gin.HandlerFunc
ZipDir provides a gin.HandlerFunc that will zip the contents of the directory.
Types ¶
type DirFiles ¶
type DirFiles struct { Dir []string `json:"dir"` FileDescriptor []FileDescriptor `json:"file_descriptor,omitempty"` }
DirFiles is used to list the directories/files in a directory.
Click to show internal directories.
Click to hide internal directories.