Sergiusz Bazanski | 325e947 | 2019-09-27 02:49:47 +0200 | [diff] [blame] | 1 | syntax = "proto3"; |
2 | package proto; | ||||
3 | option go_package = "code.hackerspace.pl/hscloud/hswaw/smsgw/proto"; | ||||
4 | |||||
5 | message MessagesRequest { | ||||
6 | string filter_body = 1; | ||||
7 | } | ||||
8 | |||||
9 | message MessagesResponse { | ||||
10 | string sender = 1; | ||||
11 | string body = 3; | ||||
12 | int64 timestamp = 4; | ||||
13 | } | ||||
14 | |||||
15 | service SMSGateway { | ||||
16 | rpc Messages(MessagesRequest) returns (stream MessagesResponse); | ||||
17 | } |