mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-12-27 21:55:39 +00:00
update for admin debug rename
This commit is contained in:
parent
de7cdee064
commit
74770f51b5
@ -19,13 +19,13 @@ def getNodeInfoRequest(key):
|
||||
return '{{"keepalive":true, "request":"getNodeInfo", "key":"{}"}}'.format(key)
|
||||
|
||||
def getSelfRequest(key):
|
||||
return '{{"keepalive":true, "request":"debugGetSelf", "key":"{}"}}'.format(key)
|
||||
return '{{"keepalive":true, "request":"debug_remoteGetSelf", "key":"{}"}}'.format(key)
|
||||
|
||||
def getPeersRequest(key):
|
||||
return '{{"keepalive":true, "request":"debugGetPeers", "key":"{}"}}'.format(key)
|
||||
return '{{"keepalive":true, "request":"debug_remoteGetPeers", "key":"{}"}}'.format(key)
|
||||
|
||||
def getDHTRequest(key):
|
||||
return '{{"keepalive":true, "request":"debugGetDHT", "key":"{}"}}'.format(key)
|
||||
return '{{"keepalive":true, "request":"debug_remoteGetDHT", "key":"{}"}}'.format(key)
|
||||
|
||||
def doRequest(req):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user