config_manager

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetSystemLogLevel

func SetSystemLogLevel(level string)

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func SetUpConfig

func SetUpConfig(prefix string, configFileType string) *Module

func (*Module) PrintDebugLogs

func (m *Module) PrintDebugLogs(prefix string, configFileType string)

func (*Module) SetFallbackConfigs

func (m *Module) SetFallbackConfigs(configs map[string]interface{})

Fallback configurations will be applied if there is no config file or environment variables

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳