mirror of
https://github.com/kennethreitz/herald.git
synced 2026-06-05 23:00:19 +00:00
@@ -19,6 +19,7 @@ var BUILDPACKS = []string { "python", "php", "nodejs", "ruby", "jvm-common" }
|
||||
// Redis Stuff.
|
||||
var REDIS_URL = os.Getenv("REDIS_URL")
|
||||
|
||||
// Connects to Redis instance, returns connection object.
|
||||
func RedisConnect() redis.Conn {
|
||||
c, err := redis.DialURL(REDIS_URL)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user