Skip to content

Commit 997452c

Browse files
committed
Improve protocol services
1 parent 1289c62 commit 997452c

File tree

6 files changed

+174
-171
lines changed

6 files changed

+174
-171
lines changed

activity/activity.pb.go

Lines changed: 66 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

activity/activity.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
syntax = "proto3";
22

3-
package api;
3+
package protocol;
44

55
option go_package = "github.com/terrapi-solution/protocol/activity";
66

77
service ActivityService {
8-
rpc InsertActivity(InsertActivityRequest) returns (InsertActivityResponse) {}
9-
rpc ListActivity(ListActivityRequest) returns (Activities) {}
8+
rpc Insert(InsertActivityRequest) returns (InsertActivityResponse) {}
9+
rpc List(ListActivityRequest) returns (Activities) {}
1010
}
1111

1212
message InsertActivityResponse {

0 commit comments

Comments
 (0)