redis_set: Generate a function to redis set command with specified...

Description Usage Arguments Details Closure Arguments

Description

Wrap SET and EXPIRE. see https://redis.io/commands/set and https://redis.io/commands/expire

Usage

1
redis_set(redis_con, time_to_live, serialize = TRUE)

Arguments

redis_con

an interface to Redis. See hiredis

time_to_live

time to live in seconds. dhours can be used.

serialize

Whether to serialise R object or not. Defaults to TRUE

Details

Use unenclose to check the generated function

Closure Arguments


shizidushu/hfun documentation built on May 27, 2019, 2:10 p.m.