Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (24 sloc) 592 Bytes
syntax = "proto3";
option java_multiple_files = true;
option java_package = "golanguk.kitter";
option java_outer_classname = "KitterProto";
package kitter;
// The greeter service definition.
service Kitter {
// Sends a greeting
rpc Miaow(Message) returns (Error);
rpc MiaowStream(Filter) returns (stream Message);
}
// The request message containing the user's name.
message Message {
string from = 1;
string content = 2;
}
message Filter {
int32 id = 1;
}
// Error encapsulates the details behind a failed request
message Error {
int32 code = 1;
string detail = 2;
}
You can’t perform that action at this time.