mirror of
https://github.com/yv1ing/ShotRDP.git
synced 2025-09-16 15:10:57 +08:00
删除无用代码,加入RPC调用
This commit is contained in:
16
pb/shotrdp.proto
Normal file
16
pb/shotrdp.proto
Normal file
@@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "shotrdp/pb";
|
||||
|
||||
package pb;
|
||||
|
||||
message Request {
|
||||
string host = 1;
|
||||
}
|
||||
|
||||
message Response {
|
||||
bytes image_bytes = 1;
|
||||
}
|
||||
|
||||
service GetScreen {
|
||||
rpc GetScreen (Request) returns (Response);
|
||||
}
|
||||
Reference in New Issue
Block a user