Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/mindstand/go-bolt

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mindstand/go-bolt

  • v0.2.1
  • Source
  • Go
  • Socket score

Version published
Created
Source

Go Report Card GoDoc GoBolt Test Suite

Go-Bolt - GoLang Bolt Driver

Implements Neo4j Bolt Protocol Versions 1-4

go get -u github.com/mindstand/go-bolt

(Disclaimer) This repository is still a major work in progress

Features

  • Supports bolt protocol versions 1-4
  • Supports multi db in bolt protocol v4
  • Connection Pooling
  • bolt+routing for casual clusters
  • TLS support

Current todo's

(Issues will be updated)
  • Documentation across entire repository
  • Unit/integration testing across the entire repository for all protocol versions
  • Support for neo4j bookmarks

Long term goals

  • Cypher checks preflight
  • Benchmark Testing

Thanks to:

Current example

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)
}

FAQs

Package last updated on 24 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc