add logic to store event modification and deleted event
This commit is contained in:
@@ -13,7 +13,7 @@ service Agenda {
|
||||
rpc GetEvent(GetEventRequest) returns (GetEventResponse) {}
|
||||
rpc GetEvents(GetEventsRequest) returns (GetEventsResponse) {}
|
||||
rpc DeleteEvent(DeleteEventRequest) returns (DeleteEventResponse) {}
|
||||
|
||||
rpc UpdateEvent(UpdateEventRequest) returns (UpdateEventResponse) {}
|
||||
rpc SubscribeEvent(SubscribeEventRequest) returns (SubscribeEventResponse) {}
|
||||
rpc UnsubscribeEvent(UnsubscribeEventRequest) returns (UnsubscribeEventResponse) {}
|
||||
}
|
||||
@@ -70,4 +70,12 @@ message UnsubscribeEventRequest {
|
||||
|
||||
message UnsubscribeEventResponse {
|
||||
bool ok = 39;
|
||||
}
|
||||
|
||||
message UpdateEventRequest {
|
||||
Event event = 32;
|
||||
}
|
||||
|
||||
message UpdateEventResponse {
|
||||
Event event = 33;
|
||||
}
|
||||
Reference in New Issue
Block a user