Files
services/email/proto/email.proto
Asim Aslam 2d6eecc1e9 fix comment
2021-07-01 12:42:37 +01:00

28 lines
491 B
Protocol Buffer

syntax = "proto3";
package email;
option go_package = "./proto;email";
service Email {
rpc Send(SendRequest) returns (SendResponse) {}
}
// Send an email by passing in from, to, subject and a text or html body
message SendRequest {
// the name of the sender
string from = 1;
// the email address of the recipient
string to = 2;
// the email subject
string subject = 3;
// the text body
string text_body = 4;
// the html body
string html_body = 5;
}
message SendResponse {
}