A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/readlnh/redis-simple-rs below:

GitHub - readlnh/redis-simple-rs

redis-simple-rs

A really simple Rust client library for Redis inspired by rust-redis

Quickstart
extern crate redis_simple_rs;

use redis_simple_rs::RedisClient;


fn main() {
    let sock_addr: &str = "127.0.0.1:6379";
    let mut client = RedisClient::new(sock_addr);
    client.set("x", "111");
    println!("{}", client.get("x"));
}

this is a simple set/get example.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4