config

package
v0.0.0-...-73b4c3b Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DB         *db.DbConfig
	BlockChain *setting.BlockChainConfig
)

global def

View Source
var EthRpcClient *ethclient.Client

Functions

func NewEthRpcClient

func NewEthRpcClient() (*ethclient.Client, error)

func SetupConfig

func SetupConfig()

func SetupEthClient

func SetupEthClient()

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() (*Config, error)

func (*Config) ReadSection

func (config *Config) ReadSection(k string, v interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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