Skip to content

Commit

Permalink
feat: change 'set' to 'put' in Storage proto
Browse files Browse the repository at this point in the history
  • Loading branch information
cprice404 committed Jun 14, 2024
1 parent 3483353 commit ec88349
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions proto/store.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package store;

service Store {
rpc Get(_StoreGetRequest) returns (_StoreGetResponse) {}
rpc Set(_StoreSetRequest) returns (_StoreSetResponse) {}
rpc Put(_StorePutRequest) returns (_StorePutResponse) {}
rpc Delete(_StoreDeleteRequest) returns (_StoreDeleteResponse) {}
}

Expand All @@ -30,12 +30,12 @@ message _StoreGetResponse {
_StoreValue value = 1;
}

message _StoreSetRequest {
message _StorePutRequest {
string key = 1;
_StoreValue value = 2;
}

message _StoreSetResponse { }
message _StorePutResponse { }

message _StoreDeleteRequest {
string key = 1;
Expand Down

0 comments on commit ec88349

Please sign in to comment.