mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Adds params parsing to datasource classes
This commit is contained in:
parent
2a339abab9
commit
414bedf645
3 changed files with 60 additions and 13 deletions
|
|
@ -0,0 +1,12 @@
|
|||
--
|
||||
-- (C) 2013-21 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/datasources/?.lua;" .. package.path
|
||||
|
||||
local packet_distro = require "interface.packet_distro"
|
||||
local datasource = packet_distro:new()
|
||||
|
||||
datasource:rest_send_response()
|
||||
Loading…
Add table
Add a link
Reference in a new issue