Improve agenda

This commit is contained in:
2022-12-05 17:21:12 +01:00
parent ba8ae85d66
commit 5feb1b720e
8 changed files with 227 additions and 144 deletions

View File

@@ -5,6 +5,7 @@ syntax = "proto3";
option go_package = "git.coopgo.io/coopgo-platform/agenda/grpcapi";
import "google/protobuf/timestamp.proto";
import "google/protobuf/struct.proto";
import "events.proto";
service Agenda {
@@ -55,10 +56,11 @@ message GetEventsResponse {
message SubscribeEventRequest {
string subscriber = 20;
string eventid = 21;
google.protobuf.Struct data = 22;
}
message SubscribeEventResponse {
bool ok = 22;
bool ok = 29;
}
message UnsubscribeEventRequest {
@@ -67,5 +69,5 @@ message UnsubscribeEventRequest {
}
message UnsubscribeEventResponse {
bool ok = 32;
bool ok = 39;
}