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.
19 lines
294 B
19 lines
294 B
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
|
|
}
|
|
|