-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
877ccad
commit dd58dda
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
syntax = "proto3"; | ||
|
||
option go_package = "github.com/momentohq/client-sdk-go;client_sdk_go"; | ||
option java_multiple_files = true; | ||
option java_package = "grpc.store"; | ||
option csharp_namespace = "Momento.Protos.Store"; | ||
|
||
package store; | ||
|
||
service Store { | ||
rpc Get(_GetRequest) returns (_GetResponse) {} | ||
rpc Set(_SetRequest) returns (_SetResponse) {} | ||
rpc Delete(_DeleteRequest) returns (_DeleteResponse) {} | ||
} | ||
|
||
message _Value { | ||
oneof value { | ||
bytes bytes_value = 1; | ||
string string_value = 2; | ||
int64 integer_value = 3; | ||
double double_value = 4; | ||
} | ||
} | ||
|
||
message _GetRequest { | ||
string key = 1; | ||
} | ||
|
||
message _GetResponse { | ||
_Value value = 1; | ||
} | ||
|
||
message _SetRequest { | ||
string key = 1; | ||
_Value value = 2; | ||
} | ||
|
||
message _SetResponse { } | ||
|
||
message _DeleteRequest { | ||
string key = 1; | ||
} | ||
|
||
message _DeleteResponse { } |