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, errorListener ConnectionErrorListener, ...) *bolt3
- func NewBolt4(serverName string, conn net.Conn, errorListener ConnectionErrorListener, ...) *bolt4
- func NewBolt5(serverName string, conn net.Conn, errorListener ConnectionErrorListener, ...) *bolt5
- type ConnectionErrorListener
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, errorListener ConnectionErrorListener, logger log.Logger, boltLogger log.BoltLogger, notificationConfig db.NotificationConfig, ) (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, errorListener ConnectionErrorListener, logger log.Logger, boltLog log.BoltLogger, ) *bolt3
func NewBolt4 ¶
func NewBolt4( serverName string, conn net.Conn, errorListener ConnectionErrorListener, logger log.Logger, boltLog log.BoltLogger, ) *bolt4
func NewBolt5 ¶
func NewBolt5( serverName string, conn net.Conn, errorListener ConnectionErrorListener, logger log.Logger, boltLog log.BoltLogger, ) *bolt5
Types ¶
type ConnectionErrorListener ¶ added in v5.12.0
Click to show internal directories.
Click to hide internal directories.