config

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPrimaryDataSourceMissing = errors.New("config: vef.data_sources.primary is required")

ErrPrimaryDataSourceMissing is returned by newDataSourcesConfig when the TOML configuration omits vef.data_sources.primary.

View Source
var Module = fx.Module(
	"vef:config",
	fx.Provide(
		newConfig,
		newAppConfig,
		newAPIConfig,
		newDataSourcesConfig,
		newCORSConfig,
		newSecurityConfig,
		newRedisConfig,
		newStorageConfig,
		newMonitorConfig,
		newMCPConfig,
		newApprovalConfig,
		newEventConfig,
	),
)

Functions

This section is empty.

Types

type ViperConfig

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

func (*ViperConfig) Unmarshal

func (v *ViperConfig) Unmarshal(key string, target any) error

Jump to

Keyboard shortcuts

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