func init() { cluster := gocql.NewCluster("10.100.89.72") cluster.Keyspace = "adminspike" cluster.ProtoVersion = 3 driver := CassandraDriver{cluster: cluster} admins.Register("cassandra", driver) }
func init() { driver := InmemoryDriver{collection: map[string]*admins.Admin{}} admins.Register("inmemory", driver) }