datastore

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStore

type AppStore interface {
	GetDbFilePath() string

	Open() (*sql.DB, error)
	Close(*sql.DB) error

	TakeBackup() error
	RestoreBackup() error
}

func New

func New(appDataDir, dbFileName string) AppStore

func NewInMemory

func NewInMemory(dbFileName string) AppStore

Jump to

Keyboard shortcuts

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