func (db *DB) RegisterCallback(name string, c Callback) {
	if _, ok := db.cbs[name]; ok {
		log().Warn("Attempted to register duplicate callback", "callback", name)
		return
	}
	db.cbs[name] = c
	log().Info("Database callback registered", "callback", name)
}
RegisterCallback takes a callback name and handle and registers
them for later calling.
package db
import "path"