2019-08-21 10:03:54 +00:00
|
|
|
import * as redis from 'redis';
|
|
|
|
var REDIS_URL = process.env.REDIS_URL;
|
2019-08-14 10:55:23 +00:00
|
|
|
export namespace Global {
|
|
|
|
export var network: string = 'Floonet';
|
2019-08-21 10:03:54 +00:00
|
|
|
// connect to Redis
|
|
|
|
export var client = redis.createClient(REDIS_URL);
|
2019-08-14 10:55:23 +00:00
|
|
|
}
|