File
Blob: spec/proto/client_query.proto
| 1 | syntax = "proto3"; |
| 2 | package protocol; |
| 3 | |
| 4 | option optimize_for = SPEED; |
| 5 | option go_package = "go.miragespace.co/specter/spec/protocol"; |
| 6 | |
| 7 | service ClientQueryService { |
| 8 | rpc ListTunnels(ListTunnelsRequest) returns (ListTunnelsResponse); |
| 9 | } |
| 10 | |
| 11 | message ClientTunnel { |
| 12 | string hostname = 1; |
| 13 | string target = 2; |
| 14 | } |
| 15 | |
| 16 | message ListTunnelsRequest{} |
| 17 | |
| 18 | message ListTunnelsResponse{ |
| 19 | repeated ClientTunnel tunnels = 1; |
| 20 | } |