You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
506 B

syntax = "proto3";
package api;
option go_package = "bkb-notify/api";
// The Email service definition.
service Email {
// 发送一个邮件
rpc SendEmail (SendRequest) returns (SendEmailReply) {
}
}
message SendRequest {
//收件人 必填参数
repeated string to=1;
//邮件主题,必填参数
string subject=2;
//消息体,支持富文本
string body=3;
}
// The response message containing the greetings
message SendEmailReply {
int32 code = 1;
string message = 2;
}