Esempio n. 1
0
func init() {
	log.Info("Registering mongodb")
	store.Register("mongodb", new(MongoDB))
}
Esempio n. 2
0
func init() {
	log.Info("Initing sqlstore")
	store.Register("sqlstore", new(Sql))
}
Esempio n. 3
0
func init() {
	log.Info("Initing cassandra")
	store.Register("cassandra", new(Cassandra))
}
Esempio n. 4
0
func init() {
	log.Info("Registering rethinkdb")
	store.Register("rethinkdb", new(RethinkDB))
}
Esempio n. 5
0
func init() {
	log.Info("Initing leveldb")
	l := new(Leveldb)
	l.SetBloomFilter(13)
	store.Register("leveldb", l)
}
Esempio n. 6
0
func init() {
	log.Info("Initing datastore")
	store.Register("datastore", new(Datastore))
}