A sql.DB wrapper for master-slave topologies