mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-22 15:25:19 +00:00
Add DB delete (#134)
This commit is contained in:
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package db;
|
||||
|
||||
option go_package = "github.com/micro/services/proto;db";
|
||||
option go_package = "./proto;db";
|
||||
|
||||
service Db {
|
||||
rpc Create(CreateRequest) returns (CreateResponse) {}
|
||||
@@ -38,7 +38,8 @@ message CreateRequest {
|
||||
}
|
||||
|
||||
message CreateResponse {
|
||||
|
||||
// The id of the record
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message UpdateRequest {
|
||||
@@ -59,4 +60,4 @@ message DeleteRequest {
|
||||
|
||||
message DeleteResponse {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user