hirlite: Interface to rlite

Description Usage Arguments Examples

View source: R/hirlite.R

Description

Create an interface to rlite, with a generated interface to all rlite commands (using Redux).

Usage

1
2
3

Arguments

...

Named configuration options passed to redis_config, used to create the environment (notable keys include host, port, and the environment variable REDIS_URL). In addition to the Redux treatment of the configuration, RLITE_URL takes precendence over REDIS_URL, and a host of localhost or 127.0.0.1 will be treated as an in-memory database (:memory:).

Examples

1
2
3
4
r <- hirlite()
r$PING()
r$SET("foo", "bar")
r$GET("foo")

ropensci/rrlite documentation built on May 27, 2019, 6:33 p.m.