mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
478 B
27 lines
478 B
package response
|
|
|
|
import "github.com/1Panel-dev/1Panel/backend/utils/files"
|
|
|
|
type FileInfo struct {
|
|
files.FileInfo
|
|
}
|
|
|
|
type FileTree struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
Path string `json:"path"`
|
|
Children []FileTree `json:"children"`
|
|
}
|
|
|
|
type DirSizeRes struct {
|
|
Size float64 `json:"size" validate:"required"`
|
|
}
|
|
|
|
type FileProcessKeys struct {
|
|
Keys []string `json:"keys"`
|
|
}
|
|
|
|
type FileWgetRes struct {
|
|
Key string `json:"key"`
|
|
}
|