mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-11-03 00:14:01 +08:00
Standardization
This commit is contained in:
@@ -4,3 +4,11 @@ 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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user