config

package
v0.0.0-...-548fa13 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CONFIG_PATH = "config.yaml"

Variables

This section is empty.

Functions

func BootStrap

func BootStrap()

func GetConfig

func GetConfig() *config

Types

type JsonRPCConfig

type JsonRPCConfig struct {
	Host    string `yaml:"host"`
	Timeout struct {
		TransactionReceipt int32 `yaml:"transactionReceipt" default:"10000"`
		Block              int32 `yaml:"block" default:"10000"`
	} `yaml:"timeout"`
}

type PrometheusConfig

type PrometheusConfig struct {
	Port int32 `yaml:"port"`
}

Jump to

Keyboard shortcuts

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