driver

package
v0.0.0-...-f88c608 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrBusy         = 5
	ErrBusyRecovery = 5 | (1 << 8)
	ErrBusySnapshot = 5 | (2 << 8)
)

Variables

This section is empty.

Functions

func New

func New(store client.NodeStore, dialer client.DialFunc) (driver.Driver, error)

New creates a new dqlite driver, which also implements the driver.Driver interface.

Types

type Error

type Error struct {
	Code    int
	Message string
}

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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