add logic to delete and srore sub
This commit is contained in:
@@ -16,6 +16,7 @@ service Agenda {
|
||||
|
||||
rpc SubscribeEvent(SubscribeEventRequest) returns (SubscribeEventResponse) {}
|
||||
rpc UnsubscribeEvent(UnsubscribeEventRequest) returns (UnsubscribeEventResponse) {}
|
||||
rpc DeleteSubscription(DeleteSubscriptionRequest) returns (DeleteSubscriptionResponse) {}
|
||||
}
|
||||
|
||||
message CreateEventRequest {
|
||||
@@ -70,4 +71,14 @@ message UnsubscribeEventRequest {
|
||||
|
||||
message UnsubscribeEventResponse {
|
||||
bool ok = 39;
|
||||
}
|
||||
|
||||
message DeleteSubscriptionRequest {
|
||||
string subscriber = 32;
|
||||
string eventid = 33;
|
||||
google.protobuf.Struct data = 34;
|
||||
}
|
||||
|
||||
message DeleteSubscriptionResponse {
|
||||
bool ok = 41;
|
||||
}
|
||||
Reference in New Issue
Block a user