mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Adds documentation for OO recipients and operator functions
This commit is contained in:
parent
fa00119b56
commit
34b53b8a9b
4 changed files with 31 additions and 0 deletions
|
|
@ -36,6 +36,10 @@ user_scripts.field_units = {
|
|||
|
||||
-- ##############################################
|
||||
|
||||
-- Operator functions associated to user scripts `operator`, which is specified
|
||||
-- both inside user scripts default configuration values, as well as when user scripts
|
||||
-- are configured from the UI.
|
||||
--
|
||||
user_scripts.operator_functions = {
|
||||
gt --[[ greater than --]] = function(value, threshold) return value > threshold end,
|
||||
lt --[[ less than --]] = function(value, threshold) return value < threshold end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue