boltdb

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeletionRepository added in v0.4.0

func NewDeletionRepository(c *bolt.DB) (deletion.Repository, error)

NewDeletionRepository returns an implementation of deletion.Repository backed by BoltDB.

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 NewIDXTTLRepository added in v0.4.0

func NewIDXTTLRepository(c *bolt.DB) (idxttl.Repository, error)

NewIDXTTLRepository returns an implementation of the interface idxttl.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 NewScrubRepository added in v0.5.0

func NewScrubRepository(c *bolt.DB) (scrub.Repository, error)

NewScrubRepository returns an implementation of scrub.Repository backed by BoltDB.

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, error)

NewUOW returns an implementation of the interface uow.StartUnitOfWork that will lazily initialize all boltDB repositories on first access. It creates all required buckets as part of initialization.

Types

This section is empty.

Jump to

Keyboard shortcuts

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