2 changed files with 53 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||
package core |
|||
|
|||
// 传入的参数
|
|||
type Args struct { |
|||
FilePath string `json:"file_path"` |
|||
} |
|||
|
|||
// 返回的参数
|
|||
type Reply struct { |
|||
FilePath string `json:"file_path"` |
|||
} |
|||
|
|||
//
|
|||
type FileRpc string |
|||
|
|||
// 获取文件路径
|
|||
func (f *FileRpc) GetFilePath(args *Args, replay *Reply) error { |
|||
return nil |
|||
} |
|||
Loading…
Reference in new issue