tweaks to docs (#200)

This commit is contained in:
Dominic Wong
2021-09-02 15:23:24 +01:00
committed by GitHub
parent 2e5af32faf
commit d378ef2de5
39 changed files with 83 additions and 88 deletions

4
cache/README.md vendored
View File

@@ -2,6 +2,6 @@ Quick access key-value storage
# Cache Service
The cache service provides simple get/set/delete key-value storage along with ttl support.
The cache service provides simple get/set/delete key-value storage. Values can be stored with an optional time-to-live (TTL) to automatically expire entries.
The max value size is 1mb
The max value size is 1MB.

View File

@@ -53,32 +53,32 @@ message DeleteResponse {
string status = 1;
}
// Increment a value (if its a number)
// Increment a value (if it's a number)
message IncrementRequest {
// The key to increment
string key = 1;
// The value to add
// The amount to increment the value by
int64 value = 2;
}
message IncrementResponse {
// The key incremented
string key = 1;
// The result value
// The new value
int64 value = 2;
}
// Decrement a value (if its a number)
// Decrement a value (if it's a number)
message DecrementRequest {
// The key to decrement
string key = 1;
// The delta value to decrement
// The amount to decrement the value by
int64 value = 2;
}
message DecrementResponse {
// The key of the item
// The key decremented
string key = 1;
// The result value of the item
// The new value
int64 value = 2;
}