update the registration interface

This commit is contained in:
Barak Michener 2015-06-23 14:11:03 -04:00
parent 9155dc0c56
commit ba5b1dbfc3
4 changed files with 30 additions and 6 deletions

View file

@ -35,7 +35,13 @@ import (
)
func init() {
graph.RegisterQuadStore(QuadStoreType, true, newQuadStore, createNewLevelDB, nil)
graph.RegisterQuadStore(QuadStoreType, graph.QuadStoreRegistration{
NewFunc: newQuadStore,
NewForRequestFunc: nil,
UpgradeFunc: nil,
InitFunc: createNewLevelDB,
IsPersistent: true,
})
}
const (