dbutils

package
v0.0.1-RC7 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: GPL-3.0 Imports: 3 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 InitOrResetRPC

func InitOrResetRPC(cfg db.Config) error

InitOrResetRPC will initializes the RPC 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 NewPoolConfigFromEnv

func NewPoolConfigFromEnv() db.Config

NewPoolConfigFromEnv return a config for pool db

func NewRPCConfigFromEnv

func NewRPCConfigFromEnv() db.Config

NewRPCConfigFromEnv return a config for RPC 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