package
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Jul 31, 2023
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Route(root iris.Party)
type DeleteFileReq struct {
Path []string `json:"path,omitempty"`
Name string `json:"name,omitempty"`
}
type ExplorerReq struct {
Path []string `json:"path,omitempty"`
}
type ExplorerResp struct {
app.Response
Folders []string `json:"folders,omitempty"`
Files []FileInfo `json:"files,omitempty"`
}
type FileInfo struct {
Name string `json:"name,omitempty"`
Ext string `json:"ext,omitempty"`
}
type SaveFileReq struct {
Path []string `json:"path,omitempty"`
Name string `json:"name,omitempty"`
Src string `json:"src,omitempty"`
Hash bool `json:"hash,omitempty"`
}
type UploadItemResp struct {
Path string `json:"path,omitempty"`
Web string `json:"web,omitempty"`
File string `json:"file,omitempty"`
}
type UploadResp struct {
app.Response
Items []UploadItemResp `json:"items,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.