it is now broken

This commit is contained in:
2018-10-31 20:35:30 -07:00
parent df7f53e7d6
commit 33b759d15f
6 changed files with 189 additions and 185 deletions

View File

@@ -22,9 +22,9 @@ type RedisKVStore struct {
rc *redis.Client
}
func NewRedisKVStore() *RedisKVStore {
func NewRedisKVStore(hostname string) *RedisKVStore {
rkvs := new(RedisKVStore)
rkvs.Open("localhost:6379") //FIXME(sneak) use viper
rkvs.Open(hostname) //FIXME(sneak) use viper
return rkvs
}