package
0.3.13-beta.0
Repository: https://github.com/spacemeshos/go-spacemesh.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

InMemory database for testing.
Open database with options.
WithConnections overwrites number of pooled connections.
WithLatencyMetering enables metric that track latency for every database query.
WithMigrations overwrites embedded migrations.

# Variables

ErrNoConnection is returned if pooled connection is not available.
ErrNotFound is returned if requested record is not found.
ErrObjectExists is returned if database constraints didn't allow to insert an object.

# Structs

Database is an instance of sqlite database.
Tx is wrapper for database transaction.

# Interfaces

Executor is an interface for executing raw statement.

# Type aliases

Decoder for sqlite rows.
Encoder for parameters.
Migrations is interface for migrations provider.
Opt for configuring database.
Statement is an sqlite statement.