db

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MPL-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const KeySize = 32

Variables

View Source
var ErrNotFound = errors.New("entity not found")

Functions

This section is empty.

Types

type EncryptedDB

type EncryptedDB struct {
	*gorm.DB
}

func New

func New(dbFilePath string, key []byte, typesToRegister ...any) (*EncryptedDB, error)

New creates a new encrypted database.

Jump to

Keyboard shortcuts

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