From ec88349d48e1ad5008173dce47e5b88b916da606 Mon Sep 17 00:00:00 2001 From: Chris Price Date: Fri, 14 Jun 2024 10:07:21 -0700 Subject: [PATCH] feat: change 'set' to 'put' in Storage proto --- proto/store.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proto/store.proto b/proto/store.proto index dffa44c..653c965 100644 --- a/proto/store.proto +++ b/proto/store.proto @@ -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) {} } @@ -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;