config

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 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"`
	SocketPath      string `split_words:"true"`
	Network         string
	TlsCertFilePath string `envconfig:"TLS_CERT_FILE_PATH"`
	TlsKeyFilePath  string `envconfig:"TLS_KEY_FILE_PATH"`
	Topology        string
	MetricsPort     uint `split_words:"true"`
	RelayPort       uint `envconfig:"port"`
	UtxorpcPort     uint `split_words:"true"`
	IntersectTip    bool `split_words:"true"`
}

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