func redisAvailable(manager manager.Manager) net.Conn { connection, error := net.DialTimeout("tcp", manager.GetRedisConnectionIPAndPort(), 2*time.Second) if error != nil { return nil } return connection }
func redisAvailable(manager manager.Manager) net.Conn { connection, error := net.DialTimeout("tcp", manager.GetRedisConnectionIPAndPort(), 2*time.Second) if error != nil { return nil } return connection }