dynamicconfigfx

package
v1.3.7-prerelease21 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(fx.Provide(New))

Module provides fx options for dynamic config initialization

Functions

This section is empty.

Types

type Params

type Params struct {
	fx.In

	Cfg           config.Config
	Logger        log.Logger
	MetricsClient metrics.Client
	RootDir       string `name:"root-dir"`

	Lifecycle fx.Lifecycle
}

Params required to build a new dynamic config.

type Result added in v1.3.1

type Result struct {
	fx.Out

	Client     dynamicconfig.Client
	Collection *dynamicconfig.Collection
}

func New

func New(p Params) Result

New creates dynamicconfig.Client from the configuration

Jump to

Keyboard shortcuts

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