configuration

package
v0.0.0-...-fe50809 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	ListeningInterface string `yaml:"listeningInterface" env:"OMIGA_APP_LISTENINGINTERFACE"`
	Source             string `yaml:"source" env:"OMIGA_APP_SOURCE"`
}

type ConfigurationHelper

type ConfigurationHelper interface {
	LoadYaml(configFilePath string, config interface{}) error
}

func NewConfigurationHelper

func NewConfigurationHelper(
	logger *zap.SugaredLogger,
	osHelper os.OsHelper,
) (ConfigurationHelper, error)

Directories

Path Synopsis
Package mock_configuration is a generated GoMock package.
Package mock_configuration is a generated GoMock package.

Jump to

Keyboard shortcuts

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