common

package
v0.0.0-...-aac4589 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FinalizeStorage

func FinalizeStorage(s storage.Storage)

FinalizeStorage finalizes the storage layer with either a rollback of the current transaction or by resetting altogether the backend, if supported.

func GetDatabaseURI

func GetDatabaseURI() string

func InitStorage

func InitStorage(s storage.Storage) storage.Storage

InitStorage initializes the storage backend with a new transaction, if supported

func NewStorage

func NewStorage(opts ...rdbms.Opt) (storage.Storage, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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