forked from bot/app
🐛 修复无法重启进程的问题(未启动生命监视器)
This commit is contained in:
14
liteyuki/comm/shared_memory.py
Normal file
14
liteyuki/comm/shared_memory.py
Normal file
@ -0,0 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
共享内存模块。类似于redis,但是更加轻量级。
|
||||
"""
|
||||
|
||||
memory_database = {}
|
||||
|
||||
|
||||
def set_memory(key: str, value: any) -> None:
|
||||
pass
|
||||
|
||||
|
||||
def get_mem_data(key: str) -> any:
|
||||
pass
|
Reference in New Issue
Block a user