Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sleipnir committed Jun 13, 2024
1 parent a48351f commit a5539b4
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
syntax = "proto3";

package io.eigr.spawn.example;

option java_multiple_files = true;
option java_package = "io.eigr.spawn.example";
option java_outer_classname = "ExampleProtos";

import "google/api/annotations.proto";
import "google/protobuf/empty.proto";

service ClockActor {
rpc Clock(google.protobuf.Empty) returns (google.protobuf.Empty) {
option (google.api.http) = {
get : "/v1/clock"
};
}

rpc SecondClock(google.protobuf.Empty) returns (google.protobuf.Empty) {
option (google.api.http) = {
post : "/v1/second_clock"
body : "*"
};
}
}

0 comments on commit a5539b4

Please sign in to comment.