@@ -5,7 +5,7 @@ title: Neo4j
5
5
6
6
A Neo4j storage driver using [ neo4j/neo4j-go-driver] ( https://github.com/neo4j/neo4j-go-driver ) .
7
7
8
- > ** Note: Requires latest two release of Golang**
8
+ > ** Note: Requires latest two releases of Golang**
9
9
10
10
### Table of Contents
11
11
@@ -53,10 +53,10 @@ You can use the following possibilities to create a storage:
53
53
54
54
```go
55
55
// Initialize default config
56
- store := neo4j .New()
56
+ store := neo4jstore .New()
57
57
58
58
// Initialize custom config
59
- store := neo4j .New(neo4jstore.Config{
59
+ store := neo4jstore .New(neo4jstore.Config{
60
60
DB: driver,
61
61
Node: " fiber_storage" ,
62
62
Reset: false ,
@@ -71,7 +71,7 @@ store := neo4j.New(neo4jstore.Config{
71
71
type Config struct {
72
72
// Connection pool
73
73
//
74
- // DB neo4j.DriverWithContext object will override connection uri and other connection fields.
74
+ // DB neo4j.DriverWithContext object will override connection URI and other connection fields.
75
75
//
76
76
// Optional. Default is nil.
77
77
DB neo4j.DriverWithContext
@@ -108,12 +108,12 @@ type Config struct {
108
108
// Optional. Default is "fiber_storage"
109
109
Node string
110
110
111
- // Reset clears any existing keys in existing Table
111
+ // Reset clears any existing keys (Nodes)
112
112
//
113
113
// Optional. Default is false
114
114
Reset bool
115
115
116
- // Time before deleting expired keys
116
+ // Time before deleting expired keys (Nodes)
117
117
//
118
118
// Optional. Default is 10 * time.Second
119
119
GCInterval time.Duration
0 commit comments