数据
info
Redis配置及调用
alemon.config.yaml
redis:
host: 'localhost'
port: 6379
password: ''
db: 0
src/index.ts
import { getIoRedis } from 'alemonjs'
const ioRedis = getIoRedis()
// ioRedis.set("alemonjs:user","xxx")
Redis配置及调用
redis:
host: 'localhost'
port: 6379
password: ''
db: 0
import { getIoRedis } from 'alemonjs'
const ioRedis = getIoRedis()
// ioRedis.set("alemonjs:user","xxx")