Skip to content

msainz/Redis.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Redis.jl

Pure Julia implementation of a Redis client, largely based on redis-py.

Usage

using Redis
client = redis(host="localhost", port=6379, db=0)

# server info commands
info(client)
info(client, "clients")
ping(client)
dbsize(client)
time(client)
save(client)
bgrewriteaof(client)
bgsave(client)
echo(client, "Hello!")
flushall(client)
flushdb(client)

# basic key commands
set(client, "pi", 3.14)
exists(client, "pi")
get(client, "pi")
restore(client, "picopy", dump(client, "pi"))
append(client, "pi", 159)
incr(client, "one")
decr(client, "one")
del(client, "one")

# many more to come...

Please refer to test/test_{lists, sets, hashes}.jl for documentation on list, set, and hash operations.

About

Redis Julia Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages