Skip to content

Commit

Permalink
modify email.proto
Browse files Browse the repository at this point in the history
Signed-off-by: seeflood <[email protected]>
  • Loading branch information
seeflood committed Aug 31, 2022
1 parent 5a16070 commit fc63257
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions spec/proto/extension/v1/email/email.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,13 @@ package spec.proto.extension.v1.email;
option go_package = "mosn.io/layotto/spec/proto/extension/v1/email;email";

/* @exclude quickstart generator */
// EmailTemplateService is used to send emails with templates
service EmailTemplateService {
// EmailService is used to send emails.
service EmailService {

// Send an email with template
rpc SendEmailWithTemplate(SendEmailWithTemplateRequest) returns (SendEmailWithTemplateResponse) {}

}

// EmailTemplateService is used to send emails.
service EmailService {

// Send an email.
// Send an email with raw content instead of using templates.
rpc SendEmail(SendEmailRequest) returns (SendEmailResponse) {}

}
Expand Down

0 comments on commit fc63257

Please sign in to comment.