.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
redislib.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.redislib
 

Functions

 searx.redislib.lua_script_storage (client, script)
 
 searx.redislib.purge_by_prefix (client, str prefix="SearXNG_")
 
 searx.redislib.secret_hash (str name)
 
 searx.redislib.incr_counter (client, str name, int limit=0, int expire=0)
 
 searx.redislib.drop_counter (client, name)
 
 searx.redislib.incr_sliding_window (client, str name, int duration)
 

Variables

dict searx.redislib.LUA_SCRIPT_STORAGE = {}
 
str searx.redislib.PURGE_BY_PREFIX
 
str searx.redislib.INCR_COUNTER
 
str searx.redislib.INCR_SLIDING_WINDOW