crusader be462344c1 ing
2017-09-27 17:42:16 +09:00

16 lines
306 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)
}