syntax = "proto3"; | |
package proto; | |
option go_package = "code.hackerspace.pl/hscloud/hswaw/smsgw/proto"; | |
message MessagesRequest { | |
string filter_body = 1; | |
} | |
message MessagesResponse { | |
string sender = 1; | |
string body = 3; | |
int64 timestamp = 4; | |
} | |
service SMSGateway { | |
rpc Messages(MessagesRequest) returns (stream MessagesResponse); | |
} |