MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / call

Method call

src/main.py:117–123  ·  view source on GitHub ↗
(self, function_name, kwargs)

Source from the content-addressed store, hash-verified

115@PluginManager.acceptPlugins
116class Actions(object):
117 def call(self, function_name, kwargs):
118 logging.info("Version: %s r%s, Python %s, Gevent: %s" % (config.version, config.rev, sys.version, gevent.__version__))
119
120 func = getattr(self, function_name, None)
121 back = func(**kwargs)
122 if back:
123 print(back)
124
125 # Default action: Start serving UiServer and FileServer
126 def main(self):

Callers 15

coffee-script.jsFile · 0.80
yaFunction · 0.80
kFunction · 0.80
bFunction · 0.80
BFunction · 0.80
vFunction · 0.80
cFunction · 0.80
yFunction · 0.80
startFunction · 0.80
all.jsFile · 0.80
xFunction · 0.80
oFunction · 0.80

Calls

no outgoing calls

Tested by 1

testCallMethod · 0.64