1
This commit is contained in:
21
internal/notifications/notification.proto
Normal file
21
internal/notifications/notification.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package email;
|
||||
option go_package = "git-molva.ru/Molva/molva-notification-service;notification";
|
||||
|
||||
service EmailService {
|
||||
rpc SendEmail(SendEmailRequest) returns (SendEmailResponse) {}
|
||||
}
|
||||
|
||||
message SendEmailRequest {
|
||||
string from = 1;
|
||||
repeated string to = 2;
|
||||
string subject = 3;
|
||||
string content_type = 4;
|
||||
bytes body = 5;
|
||||
}
|
||||
|
||||
message SendEmailResponse {
|
||||
uint64 status_code = 1;
|
||||
string error_message = 2;
|
||||
}
|
Reference in New Issue
Block a user