internalDbInfra

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: EPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyValueModel added in v0.2.3

type KeyValueModel struct {
	Key   string `gorm:"primaryKey"`
	Value string
}

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 *gorm.DB
}

func NewTransientDatabaseService

func NewTransientDatabaseService() (*TransientDatabaseService, error)

func (*TransientDatabaseService) Has

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

func (*TransientDatabaseService) Read added in v0.2.3

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

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