Files
test_deploy/internal/notifications/notification.proto
Alex Shevchuk d84487d238 1
2025-08-18 17:12:04 +03:00

21 lines
434 B
Protocol Buffer

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;
}