Implements Neo4j Bolt Protocol Versions 1-4
go get -u github.com/mindstand/go-bolt
- Supports bolt protocol versions 1-4
- Supports multi db in bolt protocol v4
- Connection Pooling
bolt+routing
for casual clusters- TLS support
- Documentation across entire repository
- Unit/integration testing across the entire repository for all protocol versions
- Support for neo4j bookmarks
- Cypher checks preflight
- Benchmark Testing
- @johnnadratowski: for your original implementation of the bolt driver in go. We used the design as a basis for this driver!
This will be changed, this is the main integration test at the moment
client, err := NewClient(WithBasicAuth("neo4j", "changme"), WithHostPort("0.0.0.0", 7687))
if err != nil {
panic(err)
}
driver, err := client.NewDriver()
if err != nil {
panic(err)
}
conn, err := driver.Open(bolt_mode.WriteMode)
if err != nil {
panic(err)
}
all, m, err := conn.Query("create (:TestNode{uuid:$id})", map[string]interface{}{
"id": "random_id",
})
log.Tracef("rows: %v, %v, %v", all, m, err)
err = conn.Close()
if err != nil {
panic(err)
}