mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-09-27 20:32:10 +08:00
15 lines
271 B
Go
15 lines
271 B
Go
package model
|
|
|
|
type FileStruct struct {
|
|
Name string `json:"name"`
|
|
IsDir bool `json:"isDir"`
|
|
}
|
|
|
|
type FilePathHandlerReq struct {
|
|
Path string `form:"path" binding:"required"`
|
|
}
|
|
|
|
type FileReadHandlerReq struct {
|
|
FilePath string `form:"filePath" binding:"required"`
|
|
}
|