Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Oct 31, 2023
1 parent 239985c commit 5cd080f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions downloader/downloader.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ package downloader;

service Downloader {
rpc Download (DownloadRequest) returns (google.protobuf.Empty) {}
rpc Delete (DeleteRequest) returns (google.protobuf.Empty) {}
rpc Verify (VerifyRequest) returns (google.protobuf.Empty) {}
rpc Stats (StatsRequest) returns (StatsReply) {}
}
Expand All @@ -24,6 +25,11 @@ message DownloadRequest {
repeated DownloadItem items = 1; // single hash will be resolved as magnet link
}

// DeleteRequest: stop seeding, delete file, delete .torrent
message DeleteRequest {
string path = 1;
}

message VerifyRequest {
}

Expand Down

0 comments on commit 5cd080f

Please sign in to comment.