Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | package hswaw; |
Sergiusz Bazanski | 2da126c | 2019-07-21 15:36:27 +0200 | [diff] [blame] | 3 | option go_package = "code.hackerspace.pl/hscloud/hswaw/proto"; |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 4 | |
| 5 | message LeasifierLeasesRequest { |
| 6 | }; |
| 7 | |
| 8 | message LeasifierLease { |
| 9 | string physical_address = 1; |
| 10 | string ip_address = 2; |
| 11 | }; |
| 12 | |
| 13 | message LeasifierLeasesResponse { |
| 14 | repeated LeasifierLease leases = 1; |
| 15 | }; |
| 16 | |
| 17 | service Leasifier { |
| 18 | rpc Leases(LeasifierLeasesRequest) returns (LeasifierLeasesResponse); |
| 19 | }; |