Documentation ¶
Index ¶
- Variables
- func Init(dbPath string, key []byte, conf *config.Config) error
- func IsInitialized(dbPath string, key []byte) (bool, error)
- func KeystoreFromDatastore(ds datastore.Datastore) keystore.Keystore
- func NewNamespacedDatastore(child ds.Datastore, prefix ds.Key) ds.Batching
- func NewSQLCipherDatastore(driver, dbPath, table string, key []byte) (*sqlds.Datastore, error)
- func NewSQLiteDatastore(driver, dbPath, table string) (*sqlds.Datastore, error)
- func Open(dbPath string, key []byte) (repo.Repo, error)
- func OpenSQLCipherDatastore(driver, dbPath, table string, key []byte) (*sqlds.Datastore, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDatabaseNotFound = errors.New("database not found")
)
Functions ¶
func KeystoreFromDatastore ¶
func NewNamespacedDatastore ¶
func NewSQLCipherDatastore ¶
func NewSQLiteDatastore ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.