46 lines
904 B
Python
46 lines
904 B
Python
# Services where the module and service name match
|
|
TRIVIAL_SERVICES = [
|
|
"pcbtracker",
|
|
"message",
|
|
"facility",
|
|
"pcbevent",
|
|
"cardmng",
|
|
"package",
|
|
"userdata",
|
|
"userid",
|
|
"dlstatus",
|
|
"eacoin",
|
|
# "traceroute",
|
|
"apsmanager",
|
|
"sidmgr",
|
|
]
|
|
|
|
# Just chilling here until I figure out where these route
|
|
UNMAPPED_SERVICES = {
|
|
"???0": "numbering",
|
|
"???1": "pkglist",
|
|
"???2": "posevent",
|
|
"???3": "lobby",
|
|
"???4": "lobby2",
|
|
"???5": "netlog", # ins.netlog (?)
|
|
"???6": "globby",
|
|
"???7": "matching",
|
|
"???8": "netsci",
|
|
}
|
|
|
|
MODULE_SERVICES = "services"
|
|
RESERVED_MODULES = [
|
|
MODULE_SERVICES,
|
|
]
|
|
|
|
METHOD_SERVICES_GET = "get"
|
|
|
|
SERVICE_SERVICES = "services"
|
|
SERVICE_KEEPALIVE = "keepalive"
|
|
SERVICE_NTP = "ntp"
|
|
RESERVED_SERVICES = [
|
|
SERVICE_SERVICES,
|
|
SERVICE_KEEPALIVE,
|
|
SERVICE_NTP,
|
|
]
|