batazor/go-auth

View on GitHub
grpc/mail/mail.proto

Summary

Maintainability
Test Coverage
syntax = "proto3";
package mail;

service Mail {
    rpc SendMail (MailRequest) returns (MailResponse) {}
}

message MailRequest {
    string template = 1;
    string mail = 2;
    string url = 3;
}

message MailResponse {
    bool success = 1;
}