Documentation
¶
Overview ¶
Package bolt contains implementations of the database functionality.
Index ¶
- func Connect(ctx context.Context, serverName string, conn net.Conn, auth *db.ReAuthToken, ...) (db.Connection, error)
- func NewBolt3(serverName string, conn net.Conn, callback Neo4jErrorCallback, ...) *bolt3
- func NewBolt4(serverName string, conn net.Conn, callback Neo4jErrorCallback, ...) *bolt4
- func NewBolt5(serverName string, conn net.Conn, callback Neo4jErrorCallback, ...) *bolt5
- type Neo4jErrorCallback
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
Types ¶
type Neo4jErrorCallback ¶
type Neo4jErrorCallback func(context.Context, idb.Connection, *db.Neo4jError) error
Click to show internal directories.
Click to hide internal directories.