config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvNamePostgresUser     = "PM_POSTGRES_USER"
	EnvNamePostgresPassword = "PM_POSTGRES_PASSWORD"
)

nolint gosec golint

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	fx.Out

	Logger logger.Config
	Consul consul.Config

	Services services.Config
	Servers  servers.Config
}

Config - main config.

func New

func New(appName string, envName env.Var, configPath string, nodeName string) (Config, error)

New - create new global config.

Jump to

Keyboard shortcuts

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