-
Notifications
You must be signed in to change notification settings - Fork 35
Redis Store
Dan Ryan edited this page Jul 9, 2014
·
13 revisions
The Redis store requires an available Redis server. Authentication and custom databases are not supported at this time. Please open an issue if you need this support!
Set to redis
- Default:
memory - Example:
HAL_STORE=redis
The Redis server URL
- Default:
localhost:6367 - Example:
HAL_REDIS_URL=redis.example.com:6379
Set a namespace to prepend to all keys
- Default:
hal - Example
HAL_REDIS_NAMESPACE=foo
# sets all keys to "foo:<key>"
// blank import to register adapter
import _ "github.com/danryan/hal/store/redis"