Files
aperture/pricesrpc/rpc.proto
Elle Mouton c0ade3d4c9 pricesrpc: add pricesrpc package
This commit adds the proto definitions along with the generated proto
files for a prices service that can be used to request the price of a
specific path.
2021-08-03 14:25:45 +02:00

18 lines
300 B
Protocol Buffer

syntax="proto3";
package pricesrpc;
option go_package = "github.com/lightninglabs/aperture/pricesrpc";
service Prices {
rpc GetPrice(GetPriceRequest) returns (GetPriceResponse);
}
message GetPriceRequest {
string path = 1;
}
message GetPriceResponse {
int64 price = 3;
}