viperconfig

package module
v0.79.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Overview

Package viperconfig provides a viper-based implementation of the config interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(name string, envPrefix string, envKeyReplacer *strings.Replacer) model.BuildableConfig

NewConfig returns a new viper config Deprecated: instead use pkg/config/create.NewConfig or NewViperConfig

func NewViperConfig added in v0.66.0

func NewViperConfig(name string, envPrefix string, envKeyReplacer *strings.Replacer) model.BuildableConfig

NewViperConfig returns a new Config object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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