Skip to content

Commit

Permalink
use redis.DialURL instead of redisurl
Browse files Browse the repository at this point in the history
  • Loading branch information
artygus authored and palkan committed Apr 5, 2018
1 parent 3a092a7 commit 449bf00
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 129 deletions.
8 changes: 1 addition & 7 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions Gopkg.toml
Expand Up @@ -19,10 +19,6 @@
# name = "github.com/x/y"
# version = "2.4.0"

[[constraint]]
branch = "master"
name = "github.com/soveran/redisurl"

[[constraint]]
name = "github.com/apex/log"
version = "1.0.0"
Expand Down
3 changes: 1 addition & 2 deletions pubsub/redis.go
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/anycable/anycable-go/node"
"github.com/apex/log"
"github.com/garyburd/redigo/redis"
"github.com/soveran/redisurl"
)

const (
Expand Down Expand Up @@ -66,7 +65,7 @@ func (s *RedisSubscriber) Start() error {
}

func (s *RedisSubscriber) listen() error {
c, err := redisurl.ConnectToURL(s.url)
c, err := redis.DialURL(s.url)

if err != nil {
return err
Expand Down
34 changes: 0 additions & 34 deletions vendor/github.com/soveran/redisurl/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/soveran/redisurl/makefile

This file was deleted.

52 changes: 0 additions & 52 deletions vendor/github.com/soveran/redisurl/redisurl.go

This file was deleted.

25 changes: 0 additions & 25 deletions vendor/github.com/soveran/redisurl/redisurl_test.go

This file was deleted.

0 comments on commit 449bf00

Please sign in to comment.