mirror of
https://github.com/lightninglabs/aperture.git
synced 2026-01-23 03:04:25 +01:00
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.
18 lines
300 B
Protocol Buffer
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;
|
|
}
|