dbutils

package
v0.6.6-RC4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitOrResetPool

func InitOrResetPool(cfg db.Config) error

InitOrResetPool will initializes the Pool db running the migrations or will reset all the known data and rerun the migrations

func InitOrResetState

func InitOrResetState(cfg db.Config) error

InitOrResetState will initializes the State db running the migrations or will reset all the known data and rerun the migrations

func NewEventConfigFromEnv

func NewEventConfigFromEnv() db.Config

NewEventConfigFromEnv return a config for event db

func NewPoolConfigFromEnv

func NewPoolConfigFromEnv() db.Config

NewPoolConfigFromEnv return a config for pool db

func NewStateConfigFromEnv

func NewStateConfigFromEnv() db.Config

NewStateConfigFromEnv return a config for state db

Types

This section is empty.

Jump to

Keyboard shortcuts

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