mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Initial flows dbms api skeleton
This commit is contained in:
parent
4cbe45a948
commit
1c27af9b90
5 changed files with 123 additions and 0 deletions
21
scripts/lua/modules/flow_dbms/drivers/mysql.lua
Normal file
21
scripts/lua/modules/flow_dbms/drivers/mysql.lua
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
--
|
||||
-- (C) 2018 - ntop.org
|
||||
--
|
||||
|
||||
local driver = {}
|
||||
|
||||
function driver:new(options)
|
||||
local obj = {}
|
||||
|
||||
setmetatable(obj, self)
|
||||
self.__index = self
|
||||
return obj
|
||||
end
|
||||
|
||||
function driver:topk(ifid, what_k, filter)
|
||||
local res = {}
|
||||
|
||||
return res
|
||||
end
|
||||
|
||||
return driver
|
||||
Loading…
Add table
Add a link
Reference in a new issue