aboutsummaryrefslogtreecommitdiff
path: root/proto/mimi/announce.proto
blob: 953b4a23a1436f5177eddbec5bd61a3a77d33abb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
syntax = "proto3";
package within.website.x.mimi.announce;
option go_package = "within.website/x/proto/mimi/announce";

import "google/protobuf/empty.proto";
import "external/jsonfeed.proto";

message StatusUpdate {
  string body = 1;
}

service Announce {
  rpc Announce(jsonfeed.Item) returns (google.protobuf.Empty) {}
}

service Post {
  rpc Post(StatusUpdate) returns (google.protobuf.Empty) {}
}