Skip to content

Instantly share code, notes, and snippets.

@plutov
Created September 6, 2018 03:55
Show Gist options
  • Save plutov/187576b2142c61ec6e281eb2427a9525 to your computer and use it in GitHub Desktop.
Save plutov/187576b2142c61ec6e281eb2427a9525 to your computer and use it in GitHub Desktop.
gokit2.proto
syntax = "proto3";
package pb;
service Notificator {
rpc SendEmail (SendEmailRequest) returns (SendEmailReply);
}
message SendEmailRequest {
string email = 1;
string content = 2;
}
message SendEmailReply {
string id = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment