internalDbInfra

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: EPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PersistentDatabaseService

type PersistentDatabaseService struct {
	Handler *gorm.DB
}

func NewPersistentDatabaseService

func NewPersistentDatabaseService() (*PersistentDatabaseService, error)

type TrailDatabaseService

type TrailDatabaseService struct {
	Handler *gorm.DB
}

func NewTrailDatabaseService

func NewTrailDatabaseService() (*TrailDatabaseService, error)

type TransientDatabaseService

type TransientDatabaseService struct {
	Handler *badger.DB
}

func NewTransientDatabaseService

func NewTransientDatabaseService() (*TransientDatabaseService, error)

func (*TransientDatabaseService) Get

func (dbSvc *TransientDatabaseService) Get(key string) (string, error)

func (*TransientDatabaseService) Has

func (dbSvc *TransientDatabaseService) Has(key string) bool

func (*TransientDatabaseService) Set

func (dbSvc *TransientDatabaseService) Set(key string, value string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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