How do I check if the Session object in GoCQL is connected similar to PING in Redis?
Created a cassandra cluster using gocql library. func CreateCassandraCluster(host string) (*gocql.Session, error) { cluster := gocql.NewCluster(host) cluster.ConnectTimeout = time.Second * 10 cluster.DisableInitialHostLookup = true session, err := cluster.CreateSession() if err != nil { return session, err } return session, nil…