累计量计算模块
累计量计算模块
API_VER: 6new
function summation:new(opt)
endadd
function summation:add(key, value)
endset
get
reset
set_reset_cb
save
Last updated
Was this helpful?
API_VER: 6function summation:new(opt)
endfunction summation:add(key, value)
endLast updated
Was this helpful?
Was this helpful?
function summation:set(key, value)
endfunction summation:get(key)
endfunction summation:reset()
endfunction summation:set_reset_cb(callback)
endfunction summation:save()
end