configs

package
v0.0.0-...-ca54044 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port            string `mapstructure:"PORT"`
	WalletCoreDSN   string `mapstructure:"WALLET_CORE_DSN"`
	TransactionsDSN string `mapstructure:"TRANSACTIONS_DSN"`
	KafkaDSN        string `mapstructure:"KAFKA_DSN"`
}

func LoadConfig

func LoadConfig(path string) (config *Config, err error)

Jump to

Keyboard shortcuts

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