Handles REST responses when require ing datasource classes

This commit is contained in:
Simone Mainardi 2021-01-07 14:41:47 +01:00
parent a449d43359
commit 013122482d
5 changed files with 98 additions and 89 deletions

View file

@ -0,0 +1,19 @@
--
-- (C) 2021 - ntop.org
--
-- ##############################################
-- Every datasource must be keyed using one of the following keys
-- NOTE: integer IDs must be unique
local datasource_keys = {
-- Keys for interface datasources coded in datasources/interface, datasources/host, etc
interface_packet_distro = 0,
}
-- ##############################################
return datasource_keys
-- ##############################################