remove the services we won't use

This commit is contained in:
Asim Aslam
2021-05-12 19:26:23 +01:00
parent d3b667c0bf
commit c774879044
147 changed files with 0 additions and 16582 deletions

View File

@@ -1,48 +0,0 @@
syntax = "proto3";
package notes;
option go_package = "./proto;notes";
service Notes {
rpc List(ListRequest) returns (ListResponse);
rpc Create(CreateRequest) returns (CreateResponse);
rpc Delete(DeleteRequest) returns (DeleteResponse);
rpc Update(UpdateRequest) returns (UpdateResponse);
rpc UpdateStream(stream UpdateRequest) returns (UpdateResponse);
}
message Note {
string id = 1;
int64 created = 2;
string title = 3;
string text = 4;
}
message CreateRequest {
string title = 1;
string text = 2;
}
message CreateResponse {
string id = 1;
}
message UpdateRequest {
string id = 1;
string title = 2;
string text = 3;
}
message UpdateResponse {}
message DeleteRequest {
string id = 1;
}
message DeleteResponse {}
message ListRequest {}
message ListResponse {
repeated Note notes = 1;
}