基于redigo pub/sub
go get github.com/johnhjwsosd/redis-publish-subscribe/subclient
redis := subclient.NewRedis("127.0.0.1:6379", "123")
pool := redis.NewPool()
fmt.Println("...Lintening ...")
redis.SendMsg(pool, "sub1", "test")
go redis.Listen(pool, "sub1")