update the registration interface
This commit is contained in:
parent
9155dc0c56
commit
ba5b1dbfc3
4 changed files with 30 additions and 6 deletions
|
|
@ -33,7 +33,13 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
graph.RegisterQuadStore("bolt", true, newQuadStore, createNewBolt, nil)
|
||||
graph.RegisterQuadStore(QuadStoreType, graph.QuadStoreRegistration{
|
||||
NewFunc: newQuadStore,
|
||||
NewForRequestFunc: nil,
|
||||
UpgradeFunc: nil,
|
||||
InitFunc: createNewBolt,
|
||||
IsPersistent: true,
|
||||
})
|
||||
}
|
||||
|
||||
var (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue