mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-13 03:25:32 +00:00
Commit from GitHub Actions (Generate Clients & Examples)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const { CacheService } = require("m3o/cache");
|
||||
const { CacheService } = require("micro-js-client/cache");
|
||||
|
||||
// Decrement a value (if it's a number). If key not found it is equivalent to set.
|
||||
async function decrementAvalue() {
|
||||
|
||||
2
examples/cache/delete/node/deleteAValue.js
vendored
2
examples/cache/delete/node/deleteAValue.js
vendored
@@ -1,4 +1,4 @@
|
||||
const { CacheService } = require("m3o/cache");
|
||||
const { CacheService } = require("micro-js-client/cache");
|
||||
|
||||
// Delete a value from the cache. If key not found a success response is returned.
|
||||
async function deleteAvalue() {
|
||||
|
||||
2
examples/cache/get/node/getAValue.js
vendored
2
examples/cache/get/node/getAValue.js
vendored
@@ -1,4 +1,4 @@
|
||||
const { CacheService } = require("m3o/cache");
|
||||
const { CacheService } = require("micro-js-client/cache");
|
||||
|
||||
// Get an item from the cache by key. If key is not found, an empty response is returned.
|
||||
async function getAvalue() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const { CacheService } = require("m3o/cache");
|
||||
const { CacheService } = require("micro-js-client/cache");
|
||||
|
||||
// Increment a value (if it's a number). If key not found it is equivalent to set.
|
||||
async function incrementAvalue() {
|
||||
|
||||
2
examples/cache/set/node/setAValue.js
vendored
2
examples/cache/set/node/setAValue.js
vendored
@@ -1,4 +1,4 @@
|
||||
const { CacheService } = require("m3o/cache");
|
||||
const { CacheService } = require("micro-js-client/cache");
|
||||
|
||||
// Set an item in the cache. Overwrites any existing value already set.
|
||||
async function setAvalue() {
|
||||
|
||||
Reference in New Issue
Block a user