deprecated_overflow_gateway.../subscribe/redis.go
crusader 1e1e212954 ing
2017-09-01 15:42:23 +09:00

16 lines
305 B
Go

package subscribe
import (
"context"
ofs_redis "git.loafle.net/overflow/overflow_subscriber/redis"
"github.com/garyburd/redigo/redis"
)
func Subscribe(ctx context.Context, redisConn redis.Conn) {
s := ofs_redis.New(ctx, redisConn)
webS := newWebSubscriberHandler(ctx, "web")
s.Subscribe(webS)
}