syntax = "proto3"; package lists; // MailinglistService provides some basic interactions with mailman. service MailinglistService { // Subscribes the provided person to the mailinglist. rpc CreateSubscription(CreateSubscriptionRequest) returns (Subscription) {}; } message Subscription { string name = 1; string email = 2; string list = 3; // (e.g. testliste) } message CreateSubscriptionRequest { Subscription subscription = 1; }