Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-12-13 09:28:55 -05:00
parent 24f8ca6b3a
commit a280e9eb94
+1
View File
@@ -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 {