boltdb

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileRepository

func NewFileRepository(c *bolt.DB) (file.Repository, error)

NewFileRepository returns an implementation of the interface file.Repository

func NewIDXKeyRepository

func NewIDXKeyRepository(c *bolt.DB) (idxkey.Repository, error)

NewIDXKeyRepository returns an implementation of the interface idxkey.Repository

func NewIDXVolumeRepository

func NewIDXVolumeRepository(c *bolt.DB) (idxvolume.Repository, error)

NewIDXVolumeRepository returns an implementation of the interface idxvolume.Repository

func NewReplicaRepository

func NewReplicaRepository(c *bolt.DB) (replica.Repository, error)

NewReplicaRepository returns an implementation of the interface replica.PendentRepository

func NewStateRepository added in v0.2.0

func NewStateRepository(c *bolt.DB) (state.Repository, error)

NewStateRepository returns an implementation of the interface state.Repository

func NewUOW

func NewUOW(db *bolt.DB) uow.StartUnitOfWork

NewUOW returns an implementation of the interface uow.StartUnitOfWork that will track all the boltDB repositories

Types

This section is empty.

Jump to

Keyboard shortcuts

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