Skip to content

Commit

Permalink
grpc: domain methods rename (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Nov 16, 2024
1 parent 69c998a commit f8b0208
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions remote/kv.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ service KV {


//Temporal methods
rpc DomainGet(DomainGetReq) returns (DomainGetReply); // can return latest value or as of given timestamp
rpc GetLatest(GetLatestReq) returns (GetLatestReply); // can return latest value or as of given timestamp
rpc HistorySeek(HistorySeekReq) returns (HistorySeekReply);

rpc IndexRange(IndexRangeReq) returns (IndexRangeReply);
rpc HistoryRange(HistoryRangeReq) returns (Pairs);
rpc DomainRange(DomainRangeReq) returns (Pairs);
rpc RangeAsOf(RangeAsOfReq) returns (Pairs);

}

Expand Down Expand Up @@ -182,7 +182,7 @@ message RangeReq {


//Temporal methods
message DomainGetReq {
message GetLatestReq {
uint64 tx_id = 1; // returned by .Tx()

// query params
Expand All @@ -193,7 +193,7 @@ message DomainGetReq {
bool latest = 6; // if true, then `ts` ignored and return latest state (without history lookup)
}

message DomainGetReply{
message GetLatestReply{
bytes v = 1;
bool ok = 2;
}
Expand Down Expand Up @@ -246,7 +246,7 @@ message HistoryRangeReq {
string page_token = 9;
}

message DomainRangeReq {
message RangeAsOfReq {
uint64 tx_id = 1; // returned by .Tx()

// query params
Expand Down

0 comments on commit f8b0208

Please sign in to comment.