add default value

This commit is contained in:
Asim Aslam
2022-02-18 20:28:05 +00:00
parent 749656ed42
commit feb206baa3
3 changed files with 78 additions and 59 deletions

View File

@@ -17,6 +17,8 @@ service Cache {
message GetRequest {
// The key to retrieve
string key = 1;
// Specify a default value returned in the event the value does not exist
string default_value = 2;
}
message GetResponse {