bolt

package
v5.8.1-12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package bolt contains implementations of the database functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(ctx context.Context,
	serverName string,
	conn net.Conn,
	auth *db.ReAuthToken,
	userAgent string,
	routingContext map[string]string,
	callback Neo4jErrorCallback,
	logger log.Logger,
	boltLogger log.BoltLogger,
	notificationConfig db.NotificationConfig,
	timer *func() time.Time) (db.Connection, error)

Connect initiates the negotiation of the Bolt protocol version. Returns the instance of bolt protocol implementing the low-level Connection interface.

func NewBolt3

func NewBolt3(
	serverName string,
	conn net.Conn,
	callback Neo4jErrorCallback,
	timer *func() time.Time,
	logger log.Logger,
	boltLog log.BoltLogger,
) *bolt3

func NewBolt4

func NewBolt4(
	serverName string,
	conn net.Conn,
	callback Neo4jErrorCallback,
	timer *func() time.Time,
	logger log.Logger,
	boltLog log.BoltLogger,
) *bolt4

func NewBolt5

func NewBolt5(
	serverName string,
	conn net.Conn,
	callback Neo4jErrorCallback,
	timer *func() time.Time,
	logger log.Logger,
	boltLog log.BoltLogger,
) *bolt5

Types

type Neo4jErrorCallback

type Neo4jErrorCallback func(context.Context, idb.Connection, *db.Neo4jError) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL