Onionr/src/onionrplugins/pluginapis.py

7 lines
260 B
Python
Raw Normal View History

2022-08-16 14:54:54 +00:00
#
from typing import Callable, Dict
# plugin apis are methods intended to be available to the rpc
# plugin, this is so plugins can provide apis to other plugins
# plugins add their methods during or before afterinit event
plugin_apis: Dict[str, Callable] = {}