vow-redis
vow-redis Redis client with SET/GET/DEL/EXPIRE/LPUSH/LPOP via RESP — supports redis:// and mem:redis stubs. Install with vpm:
curl -fsSL https://install.vowlang.dev | shexport PATH="$HOME/.local/bin:$PATH"vpm add vow-redis@0.1.0vpm installQuick start
Section titled “Quick start”import vredis from vow_redis
fn main(caps: Caps) -> int needs Db { let conn = match vredis.connect("mem:redis") { Ok(c) => c, Err(_e) => return 1, }; match vredis.set(conn, "key", "value") { Ok(_v) => return 0, Err(_e) => return 2, };}Run tests
Section titled “Run tests”cd vow-libs/vow-redis && vow test tests/redis.vow -- --grant db:mem:redis