config

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTopologyConfig

func GetTopologyConfig() *topology.TopologyConfig

func LoadTopologyConfig

func LoadTopologyConfig() (*topology.TopologyConfig, error)

Types

type Config

type Config struct {
	BindAddr      string `split_words:"true"`
	CardanoConfig string `                   envconfig:"config"`
	DatabasePath  string `split_words:"true"`
	IntersectTip  bool   `split_words:"true"`
	Network       string
	MetricsPort   uint `split_words:"true"`
	Port          uint
	Topology      string
}

func GetConfig

func GetConfig() *Config

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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