mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-05 07:56:50 +08:00
15 lines
233 B
Go
15 lines
233 B
Go
package model
|
|
|
|
type FileStruct struct {
|
|
Name string `json:"name"`
|
|
IsDir bool `json:"isDir"`
|
|
}
|
|
|
|
type FilePathHandlerReq struct {
|
|
Path string `form:"path"`
|
|
}
|
|
|
|
type FileReadHandlerReq struct {
|
|
FilePath string `form:"filePath"`
|
|
}
|