sqlite

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

README

Sqlite is used for testing.

We (need to) make sure that a production node can't be running on top of sqlite.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempDBFile

func CreateTempDBFile() (string, error)

func CreateTemporarySQLiteDB

func CreateTemporarySQLiteDB(dbPath string, dbOptions string, logger gethlog.Logger) (enclavedb.EnclaveDB, error)

CreateTemporarySQLiteDB if dbPath is empty will use a random throwaway temp file, otherwise dbPath is a filepath for the sqldb file, allows for tests that care about persistence between restarts

Types

This section is empty.

Jump to

Keyboard shortcuts

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